diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-02-02 19:29:16 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-02-02 19:29:16 +0000 |
commit | e8b1b2070fccca6d43e1d5bce03920a41e400aa8 (patch) | |
tree | c6e2aa00a0be93b6caae403b8e0034ad0d44b6ea | |
parent | 457f08ff46fbdf8aa89362564f59bcc259ec936c (diff) |
excessive ()
-rw-r--r-- | usr.sbin/ospfd/lsack.c | 4 | ||||
-rw-r--r-- | usr.sbin/ospfd/rde_lsdb.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ospfd/lsack.c b/usr.sbin/ospfd/lsack.c index 85b88a009de..0e725c11d75 100644 --- a/usr.sbin/ospfd/lsack.c +++ b/usr.sbin/ospfd/lsack.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lsack.c,v 1.3 2005/02/02 19:15:07 henning Exp $ */ +/* $OpenBSD: lsack.c,v 1.4 2005/02/02 19:29:15 henning Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org> @@ -146,7 +146,7 @@ lsa_hdr_check(struct nbr *nbr, struct lsa_hdr *lsa_hdr) } /* invalid sequence number */ - if ((ntohl(lsa_hdr->seq_num) == 0x80000000)) { + if (ntohl(lsa_hdr->seq_num) == 0x80000000) { log_debug("ls_hdr_check: invalid seq num, neighbor ID %s", inet_ntoa(nbr->id)); return (0); diff --git a/usr.sbin/ospfd/rde_lsdb.c b/usr.sbin/ospfd/rde_lsdb.c index 25ab07edda0..1ac7f437793 100644 --- a/usr.sbin/ospfd/rde_lsdb.c +++ b/usr.sbin/ospfd/rde_lsdb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_lsdb.c,v 1.2 2005/02/02 19:15:07 henning Exp $ */ +/* $OpenBSD: rde_lsdb.c,v 1.3 2005/02/02 19:29:15 henning Exp $ */ /* * Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org> @@ -169,7 +169,7 @@ lsa_check(struct rde_nbr *nbr, struct lsa *lsa, u_int16_t len) } /* invalid sequence number */ - if ((ntohl(lsa->hdr.seq_num) == 0x80000000)) { + if (ntohl(lsa->hdr.seq_num) == 0x80000000) { log_debug("ls_check: invalid seq num"); return (0); } |