summaryrefslogtreecommitdiffstats
path: root/src/lib/ip
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ip')
-rw-r--r--src/lib/ip1
1 files changed, 0 insertions, 1 deletions
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