summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/ospfe.c
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2005-05-26 22:06:27 +0000
committerEsben Norby <norby@cvs.openbsd.org>2005-05-26 22:06:27 +0000
commit88a7ea8eb6af07a12323b89403cb95ecabb91afd (patch)
tree4d7978c9766fb9e736ddd86c47dfb9c4dc365a83 /usr.sbin/ospfd/ospfe.c
parentcb3cd1362106da0e68ad87ef4267e19a147f16cb (diff)
Remove unneeded debugging messages from ospfe imsg handling.
Diffstat (limited to 'usr.sbin/ospfd/ospfe.c')
-rw-r--r--usr.sbin/ospfd/ospfe.c28
1 files changed, 1 insertions, 27 deletions
diff --git a/usr.sbin/ospfd/ospfe.c b/usr.sbin/ospfd/ospfe.c
index 3279b8c021b..9ea4c0d21b3 100644
--- a/usr.sbin/ospfd/ospfe.c
+++ b/usr.sbin/ospfd/ospfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfe.c,v 1.23 2005/05/26 19:54:49 norby Exp $ */
+/* $OpenBSD: ospfe.c,v 1.24 2005/05/26 22:06:26 norby Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -348,10 +348,6 @@ ospfe_dispatch_rde(int fd, short event, void *bula)
fatalx("ospfe_dispatch_rde: "
"neighbor not found");
- log_debug("ospfe_dispatch_rde: IMSG_DD, "
- "neighbor id %s, len %d", inet_ntoa(nbr->id),
- imsg.hdr.len - IMSG_HEADER_SIZE);
-
/* put these on my ls_req_list for retrieval */
lhp = lsa_hdr_new();
memcpy(lhp, imsg.data, sizeof(*lhp));
@@ -377,10 +373,6 @@ ospfe_dispatch_rde(int fd, short event, void *bula)
fatalx("ospfe_dispatch_rde: "
"neighbor not found");
- log_debug("ospfe_dispatch_rde: IMSG_DB_SNAPSHOT, "
- "neighbor id %s, len %d", inet_ntoa(nbr->id),
- imsg.hdr.len - IMSG_HEADER_SIZE);
-
/* add LSA header to the neighbor db_sum_list */
lhp = lsa_hdr_new();
memcpy(lhp, imsg.data, sizeof(*lhp));
@@ -392,10 +384,6 @@ ospfe_dispatch_rde(int fd, short event, void *bula)
fatalx("ospfe_dispatch_rde: "
"neighbor not found");
- log_debug("ospfe_dispatch_rde: IMSG_DB_END, "
- "neighbor id %s, len %d", inet_ntoa(nbr->id),
- imsg.hdr.len - IMSG_HEADER_SIZE);
-
/* snapshot done, start tx of dd packets */
nbr_fsm(nbr, NBR_EVT_SNAP_DONE);
break;
@@ -487,10 +475,6 @@ ospfe_dispatch_rde(int fd, short event, void *bula)
fatalx("ospfe_dispatch_rde: "
"neighbor not found");
- log_debug("ospfe_dispatch_rde: IMSG_LS_UPD, "
- "neighbor id %s, len %d", inet_ntoa(nbr->id),
- imsg.hdr.len - IMSG_HEADER_SIZE);
-
if (nbr->iface->self == nbr)
break;
@@ -518,10 +502,6 @@ ospfe_dispatch_rde(int fd, short event, void *bula)
fatalx("ospfe_dispatch_rde: "
"neighbor not found");
- log_debug("ospfe_dispatch_rde: IMSG_LS_ACK, "
- "neighbor id %s, len %d", inet_ntoa(nbr->id),
- imsg.hdr.len - IMSG_HEADER_SIZE);
-
if (nbr->iface->self == nbr)
break;
@@ -538,10 +518,6 @@ ospfe_dispatch_rde(int fd, short event, void *bula)
fatalx("ospfe_dispatch_rde: "
"neighbor not found");
- log_debug("ospfe_dispatch_rde: IMSG_LS_BADREQ, "
- "neighbor id %s, len %d", inet_ntoa(nbr->id),
- imsg.hdr.len - IMSG_HEADER_SIZE);
-
if (nbr->iface->self == nbr)
fatalx("ospfe_dispatch_rde: "
"dummy neighbor got BADREQ");
@@ -803,8 +779,6 @@ orig_net_lsa(struct iface *iface)
int num_rtr = 0;
u_int16_t chksum;
- log_debug("orig_net_lsa: iface %s", iface->name);
-
/* XXX READ_BUF_SIZE */
if ((buf = buf_dynamic(sizeof(lsa_hdr), READ_BUF_SIZE)) == NULL)
fatal("orig_net_lsa");