mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
Latest version of routed from Vern Schryver. This one really
should fix Andrey's problem.
This commit is contained in:
parent
337e72d0e5
commit
d005ed5a68
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor/SGI/dist_v_2_21/; revision=21207 svn path=/vendor/SGI/vjs_970102/; revision=21208; tag=vendor/SGI/vjs_970102
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue