From 4a8465a1f308890c7f54eab8c0a7c270fc0246ed Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Fri, 1 Feb 2013 00:56:04 +0100 Subject: Remove the default IPv4 netmask MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A default netmask makes no sense (except possibly /32). Spotted by: Thomas Bächler --- src/lib/ip | 1 - 1 file changed, 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/ip b/src/lib/ip index 5caa0fc..8723e5b 100644 --- a/src/lib/ip +++ b/src/lib/ip @@ -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 -- cgit v1.2.3-24-g4f1b