conf/74817: [patch] Fixed automatic configuration of multiple I/F
in IPv6 environment
Yoshikazu GOTO
goto at snowy.to
Tue Dec 7 07:10:30 PST 2004
>Number: 74817
>Category: conf
>Synopsis: [patch] Fixed automatic configuration of multiple I/F in IPv6 environment
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 07 15:10:29 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Yoshikazu GOTO <goto at snowy.to>
>Release: FreeBSD 6.0-CURRENT i386
>Organization:
Snowy Project
>Environment:
System: FreeBSD light.snowy.to 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Mon Dec 6 21:52:23 JST 2004 root at light.snowy.to:/usr/fs/local/src/FreeBSD/src/sys/i386/compile/LIGHT i386
>Description:
In network6_interface_setup() of /etc/network.subr, rtsol is ran when
I/F auto configuration in IPv6 environment. If a PC have multiple I/F,
rtsol is running at one time on original function.
>How-To-Repeat:
code
>Fix:
please see this patch.
--- diff.txt begins here ---
Index: network.subr
===================================================================
RCS file: /home/ncvs/src/etc/network.subr,v
retrieving revision 1.160
diff -c -C5 -r1.160 network.subr
*** network.subr 5 Dec 2004 21:45:36 -0000 1.160
--- network.subr 7 Dec 2004 14:34:34 -0000
***************
*** 439,451 ****
# Act as endhost - automatically configured.
# You can configure only single interface, as
# specification assumes that autoconfigured host has
# single interface only.
sysctl net.inet6.ip6.accept_rtadv=1
! set ${rtsol_interfaces}
! ifconfig $1 up
! rtsol ${rtsol_flags} $1
fi
for i in $interfaces; do
alias=0
while : ; do
--- 439,453 ----
# Act as endhost - automatically configured.
# You can configure only single interface, as
# specification assumes that autoconfigured host has
# single interface only.
sysctl net.inet6.ip6.accept_rtadv=1
! for i in $rtsol_interfaces; do
! set ${i}
! ifconfig $1 up
! rtsol ${rtsol_flags} $1
! done
fi
for i in $interfaces; do
alias=0
while : ; do
--- diff.txt ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list