Hi,

thanks to the recent enhancements in openbsd 4.8-current (thanks!), I started
playing with l3vpn's between openbsd and JUNOS (10.4R1) and finally got it
working, but I needed to disable RFC 3479 (fault tolerance for ldp) and use
the interface's IP as transport-address on the router side and make a small
modification in ldpd/hello.c in order to get the ldp hello's from the router
accepted. Maybe someone can have a look at the diff below and see if it makes
sense.

Marcel

# cvs diff -u hello.c
Index: hello.c
===================================================================
RCS file: /cvs/src/usr.sbin/ldpd/hello.c,v
retrieving revision 1.7
diff -u -r1.7 hello.c
--- hello.c     4 Nov 2010 09:52:16 -0000       1.7
+++ hello.c     3 Jan 2011 21:47:34 -0000
@@ -227,7 +228,7 @@

                len -= sizeof(tlv);
                buf += sizeof(tlv);
-               cons += sizeof(cons);
+               cons += sizeof(tlv);
        }

        return (cons);
#

Reply via email to