summaryrefslogtreecommitdiffstats
path: root/sbin/routed/input.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2009-04-05 17:33:07 +0000
committerphk <phk@FreeBSD.org>2009-04-05 17:33:07 +0000
commit3ec0927e8b504ffce75ad2cc7fb80b4437f66167 (patch)
tree87151c0a577cc47d54616fd1103486ad28044478 /sbin/routed/input.c
parentad4b733279aa875e4206faa43e9fc10f80660489 (diff)
downloadFreeBSD-src-3ec0927e8b504ffce75ad2cc7fb80b4437f66167.zip
FreeBSD-src-3ec0927e8b504ffce75ad2cc7fb80b4437f66167.tar.gz
Add some consts, remove some unused stuff and other attempts to calm
FlexeLint down.
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