CVSROOT:        /cvs
Module name:    src
Changes by:     ren...@cvs.openbsd.org  2016/05/23 10:04:04

Modified files:
        usr.sbin/ldpd  : address.c hello.c init.c keepalive.c 
                         labelmapping.c ldp.h notification.c packet.c 

Log message:
Improve the parser of TCP/session packets.

Add more safeguards against malformed packets and fix existing ones. Also,
rename a few variables and constants to match their real meaning. For
example, rename gen_msg_tlv() to gen_msg_hdr() because this function
generates an LDP header, not a TLV.

Finally, clean-up all the send_* functions so they all follow the same
pattern.

Reply via email to