diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-06-26 09:51:30 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-06-26 09:51:30 +0000 |
commit | c0dba64981e022be9ab2c0b0fa0137fe16d76168 (patch) | |
tree | 6884abac890166e84458485bf86d8ca9de4c67d4 | |
parent | 4c8aea758f9fdac18731d24a5887584fec74bca9 (diff) |
There is no need to log routing socket version mismatches.
OK henning@, sthen@
-rw-r--r-- | usr.sbin/faithd/faithd.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/faithd/faithd.c b/usr.sbin/faithd/faithd.c index b1d5ec60290..a65e172d9a8 100644 --- a/usr.sbin/faithd/faithd.c +++ b/usr.sbin/faithd/faithd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: faithd.c,v 1.29 2008/05/17 23:31:52 sobrado Exp $ */ +/* $OpenBSD: faithd.c,v 1.30 2009/06/26 09:51:29 claudio Exp $ */ /* $KAME: faithd.c,v 1.58 2002/09/08 01:12:30 itojun Exp $ */ /* @@ -857,12 +857,8 @@ update_myaddrs() syslog(LOG_ERR, "read(PF_ROUTE) short read"); return; } - if (rtm->rtm_version != RTM_VERSION) { - syslog(LOG_ERR, "routing socket version mismatch"); - close(sockfd); - sockfd = 0; + if (rtm->rtm_version != RTM_VERSION) return; - } switch (rtm->rtm_type) { case RTM_NEWADDR: case RTM_DELADDR: |