Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160083895
D57470.id179278.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
920 B
Referenced Files
None
Subscribers
None
D57470.id179278.diff
View Options
diff --git a/libexec/rc/rc.d/routing b/libexec/rc/rc.d/routing
--- a/libexec/rc/rc.d/routing
+++ b/libexec/rc/rc.d/routing
@@ -189,7 +189,9 @@
fi
if [ $_skip = 0 ]; then
route_args=`get_if_var ${i%:*} route_IF`
- if [ -n "$route_args" ]; then
+ if [ -n "$route_args" ] && [ $i = "_loopback" ]; then
+ ${ROUTE_CMD} -q ${_action} ${route_args} 2>/dev/null
+ elif [ -n "$route_args" ]; then
${ROUTE_CMD} ${_action} ${route_args}
else
warn "route_${i%:*} not found."
@@ -266,7 +268,10 @@
fi
if [ $_skip = 0 ]; then
ipv6_route_args=`get_if_var ${i%:*} ipv6_route_IF`
- if [ -n "$ipv6_route_args" ]; then
+ if [ -n "$ipv6_route_args" ] && [ $i = "_loopback" ]; then
+ ${ROUTE_CMD} -q ${_action} \
+ -inet6 ${ipv6_route_args} 2>/dev/null
+ elif [ -n "$ipv6_route_args" ]; then
${ROUTE_CMD} ${_action} \
-inet6 ${ipv6_route_args}
else
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jun 22, 6:15 AM (9 m, 8 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33781172
Default Alt Text
D57470.id179278.diff (920 B)
Attached To
Mode
D57470: rc.d/routing: Silence loopback routes
Attached
Detach File
Event Timeline
Log In to Comment