artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
853c4e2
)
Kernel got fixed we no longer need to check if rtm_pid is 0 to filter out
author
claudio
<claudio@openbsd.org>
Mon, 26 Oct 2015 11:46:25 +0000
(11:46 +0000)
committer
claudio
<claudio@openbsd.org>
Mon, 26 Oct 2015 11:46:25 +0000
(11:46 +0000)
route messages that are not from us.
usr.sbin/ospfd/kroute.c
patch
|
blob
|
history
diff --git
a/usr.sbin/ospfd/kroute.c
b/usr.sbin/ospfd/kroute.c
index
5878a25
..
d566b21
100644
(file)
--- a/
usr.sbin/ospfd/kroute.c
+++ b/
usr.sbin/ospfd/kroute.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: kroute.c,v 1.10
4 2015/10/24 16:42:18
claudio Exp $ */
+/* $OpenBSD: kroute.c,v 1.10
5 2015/10/26 11:46:25
claudio Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
@@
-1371,8
+1371,7
@@
rtmsg_process(char *buf, size_t len)
continue;
if (rtm->rtm_type == RTM_GET &&
- rtm->rtm_pid != kr_state.pid &&
- rtm->rtm_pid != 0)
+ rtm->rtm_pid != kr_state.pid)
continue;
if ((sa = rti_info[RTAX_DST]) == NULL)