diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-06-09 00:54:02 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-06-09 21:49:32 -0300 |
commit | 3d45a70d3b7e898923638dbb795e50c2e7c378c9 (patch) | |
tree | fb15ba1af713bbfabfde1ec57cf62d737e2da50c /network | |
parent | 663f5e917994b674d4fbe184ff262f94da11256e (diff) |
[initscripts] network: Add missing broadcast address
Without this broadcast address is not set.
broadcast= parameter can be empty. In this case the broadcast address
is derived by setting all of the interface host bits to one (+).
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'network')
-rwxr-xr-x | network | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ network_up() { return 1 fi done - ip addr add $address/$netmask dev $interface || return 1 + ip addr add $address/$netmask broadcast ${broadcast:-+} dev $interface || return 1 ip route add default via $gateway || return 1 else dhcpcd $DHCPCD_ARGS $interface || return 1 |