aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1997-01-02 16:57:08 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1997-01-02 16:57:08 +0000
commitd005ed5a681fbf23295a26d08efcdc295c693471 (patch)
tree1b01f82f2d23baa63ed4b724d92ce400b45b2c97
parent337e72d0e59a6e844679b70ddb1df6f93f7fcbfe (diff)
downloadsrc-d005ed5a681fbf23295a26d08efcdc295c693471.tar.gz
src-d005ed5a681fbf23295a26d08efcdc295c693471.zip
Latest version of routed from Vern Schryver. This one reallyvendor/SGI/vjs_970102
should fix Andrey's problem.
Notes
Notes: svn path=/vendor/SGI/dist_v_2_21/; revision=21207 svn path=/vendor/SGI/vjs_970102/; revision=21208; tag=vendor/SGI/vjs_970102
-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 100bd3df0c4f..cfc680db8065 100644
--- a/sbin/routed/input.c
+++ b/sbin/routed/input.c
@@ -261,7 +261,7 @@ input(struct sockaddr_in *from, /* received from this IP address */
* already knows it.
*/
ap = find_auth(aifp);
- if (aifp == 0 && ap->type == RIP_AUTH_PW
+ if (ap != 0 && ap->type == RIP_AUTH_PW
&& n->n_family == RIP_AF_AUTH
&& !ck_passwd(aifp,rip,lim,FROM_NADDR,&use_auth))
ap = 0;