Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/ldpd permit notifications even if session not fully...
details: https://anonhg.NetBSD.org/src/rev/2f818d9b3988
branches: trunk
changeset: 784455:2f818d9b3988
user: kefren <kefren%NetBSD.org@localhost>
date: Mon Jan 28 20:32:04 2013 +0000
description:
permit notifications even if session not fully established
diffstat:
usr.sbin/ldpd/socketops.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r e2541866c65d -r 2f818d9b3988 usr.sbin/ldpd/socketops.c
--- a/usr.sbin/ldpd/socketops.c Mon Jan 28 20:06:52 2013 +0000
+++ b/usr.sbin/ldpd/socketops.c Mon Jan 28 20:32:04 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: socketops.c,v 1.21 2013/01/28 20:06:52 kefren Exp $ */
+/* $NetBSD: socketops.c,v 1.22 2013/01/28 20:32:04 kefren Exp $ */
/*
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -1072,7 +1072,8 @@
/* Should we get the message ? */
if (p->state != LDP_PEER_ESTABLISHED &&
ntohs(ttmp->type) != LDP_INITIALIZE &&
- ntohs(ttmp->type) != LDP_KEEPALIVE)
+ ntohs(ttmp->type) != LDP_KEEPALIVE &&
+ ntohs(ttmp->type) != LDP_NOTIFICATION)
break;
/* The big switch */
switch (ntohs(ttmp->type)) {
Home |
Main Index |
Thread Index |
Old Index