Module Name: src
Committed By: kefren
Date: Wed May 8 08:57:46 UTC 2013
Modified Files:
src/usr.sbin/ldpd: socketops.c
Log Message:
First send initialize and keep alive after that. Fixes inter-operability
issues regarding session initialization.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/usr.sbin/ldpd/socketops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/ldpd/socketops.c
diff -u src/usr.sbin/ldpd/socketops.c:1.26 src/usr.sbin/ldpd/socketops.c:1.27
--- src/usr.sbin/ldpd/socketops.c:1.26 Mon Feb 4 20:28:24 2013
+++ src/usr.sbin/ldpd/socketops.c Wed May 8 08:57:45 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: socketops.c,v 1.26 2013/02/04 20:28:24 kefren Exp $ */
+/* $NetBSD: socketops.c,v 1.27 2013/05/08 08:57:45 kefren Exp $ */
/*
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -1144,8 +1144,8 @@ recv_session_pdu(struct ldp_peer * p)
}
if (!p->master) {
- keep_alive(p);
send_initialize(p);
+ keep_alive(p);
} else {
p->state = LDP_PEER_ESTABLISHED;
p->established_t = time(NULL);