Author: hrs Date: Sat Feb 4 18:14:49 2012 New Revision: 230991 URL: http://svn.freebsd.org/changeset/base/230991
Log: Fix $ipv6_network_interfaces handling in rc.d/routing. It could fail when it was set to "auto", for example. MFC after: 3 days Modified: head/etc/rc.d/routing Modified: head/etc/rc.d/routing ============================================================================== --- head/etc/rc.d/routing Sat Feb 4 18:14:39 2012 (r230990) +++ head/etc/rc.d/routing Sat Feb 4 18:14:49 2012 (r230991) @@ -98,8 +98,10 @@ routing_stop_inet6() local i route -n flush -inet6 - for i in ${ipv6_network_interfaces}; do - ifconfig $i inet6 -defaultif + for i in `list_net_interfaces`; do + if ipv6if $i; then + ifconfig $i inet6 -defaultif + fi done } _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"