summaryrefslogtreecommitdiffstats
path: root/sbin/routed/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/routed/input.c')
-rw-r--r--sbin/routed/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/routed/input.c b/sbin/routed/input.c
index 51da12b..ebeee28 100644
--- a/sbin/routed/input.c
+++ b/sbin/routed/input.c
@@ -931,7 +931,7 @@ ck_passwd(struct interface *aifp,
u_char hash[RIP_AUTH_PW_LEN];
int i, len;
-
+ assert(aifp != NULL);
if ((void *)NA >= lim || NA->a_family != RIP_AF_AUTH) {
msglim(use_authp, from, "missing password from %s",
naddr_ntoa(from));
OpenPOWER on IntegriCloud