Revision 753bd64d
Added by Seth Mos over 14 years ago
etc/inc/services.inc | ||
---|---|---|
88 | 88 |
|
89 | 89 |
EOD; |
90 | 90 |
|
91 |
/* Process all links which need the router advertise daemon */ |
|
92 |
/* Currently for DHCP interfaces only, openvpn? */ |
|
91 | 93 |
$rtadvdnum = 0; |
92 | 94 |
foreach ($dhcpdv6cfg as $dhcpv6if => $dhcpv6ifconf) { |
93 | 95 |
$rtadvdnum++; |
... | ... | |
111 | 113 |
$rtadvdconf .= "\t:prefixlen#{$ifcfgsnv6}:\\\n"; |
112 | 114 |
switch($dhcpv6ifconf['mode']) { |
113 | 115 |
case "managed": |
114 |
$rtadvdconf .= "\t:raflags#64:\\\n";
|
|
116 |
$rtadvdconf .= "\t:raflags="m":\\\n";
|
|
115 | 117 |
break; |
116 | 118 |
case "assist": |
117 |
$rtadvdconf .= "\t:raflags#192:\\\n";
|
|
119 |
$rtadvdconf .= "\t:raflags="o":\\\n";
|
|
118 | 120 |
break; |
119 | 121 |
default: |
120 | 122 |
$rtadvdconf .= "\t:raflags#0:\\\n"; |
Also available in: Unified diff
Change the rtadvd daemon options to a more readable format that should hopefully work better.