Don't add broadcast addresss to ipv6

This commit is contained in:
Roy Marples 2009-12-14 10:14:39 +00:00
parent dc3ccd8101
commit 3b9eaea8ec

View File

@ -112,6 +112,7 @@ runip()
# Ensure we have a valid broadcast address
case "$@" in
*" broadcast "*|*" brd "*) ;;
*:*) ;; # Ignore IPv6
*) set -- "$@" brd +;;
esac