summaryrefslogtreecommitdiffstats
path: root/usr.sbin/routed/tables.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/routed/tables.c')
-rw-r--r--usr.sbin/routed/tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/routed/tables.c b/usr.sbin/routed/tables.c
index ac837f8..baa9c39 100644
--- a/usr.sbin/routed/tables.c
+++ b/usr.sbin/routed/tables.c
@@ -418,7 +418,7 @@ rtioctl(action, ort)
len++;
w.w_netmask.sin_len = len;
len = 1 + ((len - 1) | (sizeof(long) - 1));
- } else
+ } else
len = sizeof(long);
rtm.rtm_msglen -= (sizeof(w.w_netmask) - len);
}
OpenPOWER on IntegriCloud