FreeBSD Bugzilla – Attachment 14161 Details for
Bug 26633
pccards don't get ipv6 network configured when ipv6_gateway_enable is set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.19 KB, created by
gordont
on 2001-04-17 07:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
gordont
Created:
2001-04-17 07:10:00 UTC
Size:
1.19 KB
patch
obsolete
>--- etc/pccard_ether Mon Feb 12 21:00:57 2001 >+++ /etc/pccard_ether Mon Apr 16 22:44:06 2001 >@@ -122,17 +122,10 @@ > # IPv6 setup > case ${ipv6_enable} in > [Yy][Ee][Ss]) >- case ${ipv6_gateway_enable} in >- [Yy][Ee][Ss]) >- ;; >- *) >- sysctl -w net.inet6.ip6.forwarding=0 >- sysctl -w net.inet6.ip6.accept_rtadv=1 >- ifconfig ${interface} up >- rtsol ${interface} >- ;; >- esac >- ;; >+ if [ -r /etc/rc.network6 ]; then >+ . /etc/rc.network6 >+ network6_interface_setup ${interface} >+ fi > esac > ;; > # Stop the interface >--- etc/rc.network6 Fri Mar 23 23:35:53 2001 >+++ /etc/rc.network6 Mon Apr 16 22:44:14 2001 >@@ -129,7 +129,7 @@ > network6_gif_setup > > # setting up interfaces >- network6_interface_setup >+ network6_interface_setup $ipv6_network_interfaces > > # wait for DAD's completion (for global addrs) > sleep `sysctl -n net.inet6.ip6.dad_count` >@@ -251,6 +251,7 @@ > } > > network6_interface_setup() { >+ interfaces=$* > rtsol_interfaces='' > case ${ipv6_gateway_enable} in > [Yy][Ee][Ss]) >@@ -261,7 +262,7 @@ > prefixcmd_enable=NO > ;; > esac >- for i in $ipv6_network_interfaces; do >+ for i in $interfaces; do > rtsol_interface=yes > eval prefix=\$ipv6_prefix_$i > if [ -n "${prefix}" ]; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 26633
: 14161