mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-10 16:31:18 +01:00
Shut up a message which now appears to be a natural consequence of RIP2 and
RIP1 routeds on the same subnet and I *don't* want filling up my syslog.
This commit is contained in:
parent
c65d32c20e
commit
a755641b9a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=16485
@ -35,7 +35,7 @@
|
|||||||
static char sccsid[] = "@(#)tables.c 8.1 (Berkeley) 6/5/93";
|
static char sccsid[] = "@(#)tables.c 8.1 (Berkeley) 6/5/93";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#ident "$Revision: 1.2 $"
|
#ident "$Revision: 1.1.3.1 $"
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
|
|
||||||
@ -1461,8 +1461,15 @@ rtadd(naddr dst,
|
|||||||
|
|
||||||
if (0 == rhead->rnh_addaddr(&rt->rt_dst_sock, &mask_sock,
|
if (0 == rhead->rnh_addaddr(&rt->rt_dst_sock, &mask_sock,
|
||||||
rhead, rt->rt_nodes)) {
|
rhead, rt->rt_nodes)) {
|
||||||
|
/*
|
||||||
|
* This will happen if RIP1 and RIP2 routeds talk to one another and
|
||||||
|
* there are variable subnets. This is only good for filling up your
|
||||||
|
* syslog. -jkh
|
||||||
|
*/
|
||||||
|
#if 0
|
||||||
msglog("rnh_addaddr() failed for %s mask=%#x",
|
msglog("rnh_addaddr() failed for %s mask=%#x",
|
||||||
naddr_ntoa(dst), mask);
|
naddr_ntoa(dst), mask);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user