summaryrefslogtreecommitdiffstats
path: root/sbin/routed/table.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/routed/table.c')
-rw-r--r--sbin/routed/table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/routed/table.c b/sbin/routed/table.c
index acfc76f..a8ea949 100644
--- a/sbin/routed/table.c
+++ b/sbin/routed/table.c
@@ -298,7 +298,7 @@ ag_check(naddr dst,
naddr xaddr;
int x;
- NTOHL(dst);
+ dst = ntohl(dst);
/* Punt non-contiguous subnet masks.
*
OpenPOWER on IntegriCloud