summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-01-10 17:50:46 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-01-10 17:50:46 +0000
commit4e8faf180cc6893d7e52e9f41f28b575ba35f782 (patch)
tree078110f972eb2fb6f672597ac017bcfff38b8a99
parent90cce2f0a2ad67137be6297fd1989ef7bd753a84 (diff)
disable sending UPDATEs for now; it triggers som blocking bug...
ok & debugging band-aid claudio@
-rw-r--r--usr.sbin/bgpd/session.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c
index 34f36c41737..3b0e7eccc46 100644
--- a/usr.sbin/bgpd/session.c
+++ b/usr.sbin/bgpd/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.79 2004/01/10 17:10:22 henning Exp $ */
+/* $OpenBSD: session.c,v 1.80 2004/01/10 17:50:45 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -1468,9 +1468,12 @@ session_dispatch_imsg(struct imsgbuf *ibuf, int idx)
imsg.hdr.len < IMSG_HEADER_SIZE +
MSGSIZE_UPDATE_MIN - MSGSIZE_HEADER)
logit(LOG_CRIT, "RDE sent invalid update");
+#if 0
else
session_update(imsg.hdr.peerid, imsg.data,
imsg.hdr.len - IMSG_HEADER_SIZE);
+#endif
+ break;
default:
break;
}