diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2013-02-01 00:56:04 +0100 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2013-02-01 00:56:04 +0100 |
commit | 4a8465a1f308890c7f54eab8c0a7c270fc0246ed (patch) | |
tree | efb6a96b23afb90534f94b16658aef47485408c4 /src/lib | |
parent | 30f0608f61775f4de0a0afc645ccf74c479180c3 (diff) | |
download | netctl-4a8465a1f308890c7f54eab8c0a7c270fc0246ed.tar.gz netctl-4a8465a1f308890c7f54eab8c0a7c270fc0246ed.tar.xz |
Remove the default IPv4 netmask
A default netmask makes no sense (except possibly /32).
Spotted by: Thomas Bächler <thomas@archlinux.org>
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/ip | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -53,7 +53,6 @@ ip_set() { static) if [[ $Address ]]; then for addr in "${Address[@]}"; do - [[ $addr == */* ]] || addr+="/24" if ! do_debug ip addr add "$addr" brd + dev "$Interface"; then report_error "Could not add address '$addr' to interface '$Interface'" return 1 |