diff options
author | Esben Norby <norby@cvs.openbsd.org> | 2005-05-26 20:10:25 +0000 |
---|---|---|
committer | Esben Norby <norby@cvs.openbsd.org> | 2005-05-26 20:10:25 +0000 |
commit | 02521e4d2fab89a8477f7a10e916834fa2262248 (patch) | |
tree | 3615d3f22f52d73ee9511cf6bea84a308ab31bb4 /usr.sbin | |
parent | 96e3f76865f8f610f43d2fd4922ca64a562a5609 (diff) |
Remove unneeded debugging stuff when handling LS updates.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ospfd/lsupdate.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.sbin/ospfd/lsupdate.c b/usr.sbin/ospfd/lsupdate.c index b5feac12568..33c9471fed4 100644 --- a/usr.sbin/ospfd/lsupdate.c +++ b/usr.sbin/ospfd/lsupdate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lsupdate.c,v 1.10 2005/05/26 19:54:49 norby Exp $ */ +/* $OpenBSD: lsupdate.c,v 1.11 2005/05/26 20:10:24 norby Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -135,7 +135,6 @@ lsa_flood(struct iface *iface, struct nbr *originator, struct lsa_hdr *lsa_hdr, fatalx("lsa_flood: unknown interface type"); } - return (dont_ack == 2); } @@ -149,9 +148,6 @@ send_ls_update(struct iface *iface, struct in_addr addr, void *data, int len) u_int16_t age; int ret; - log_debug("send_ls_update: interface %s addr %s", - iface->name, inet_ntoa(addr)); - /* XXX READ_BUF_SIZE */ if ((buf = buf_dynamic(PKG_DEF_SIZE, READ_BUF_SIZE)) == NULL) fatal("send_ls_update"); @@ -201,8 +197,6 @@ recv_ls_update(struct nbr *nbr, char *buf, u_int16_t len) struct lsa_hdr lsa; u_int32_t nlsa; - log_debug("recv_ls_update: neighbor ID %s", inet_ntoa(nbr->id)); - if (len < sizeof(nlsa)) { log_warnx("recv_ls_update: bad packet size, neighbor ID %s", inet_ntoa(nbr->id)); |