X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fvcl%2Fldp.c;h=6dc44ece42fca6fee57b98551de565d32754e260;hb=524fb8d65b7a75e6a5b6fd94db44a3fb42d780ac;hp=af9c580a8c93f9a3f165ddd3fa457995a70fc968;hpb=5e06257cb892b7dc784025fe7d84c50882425831;p=vpp.git diff --git a/src/vcl/ldp.c b/src/vcl/ldp.c index af9c580a8c9..6dc44ece42f 100644 --- a/src/vcl/ldp.c +++ b/src/vcl/ldp.c @@ -1837,6 +1837,7 @@ setsockopt (int fd, int level, int optname, (void *) optval, &optlen); break; case TCP_CONGESTION: + case TCP_CORK: /* Ignore */ rv = 0; break; @@ -2389,8 +2390,11 @@ ldp_constructor (void) { swrap_constructor (); if (ldp_init () != 0) - fprintf (stderr, "\nLDP<%d>: ERROR: ldp_constructor: failed!\n", - getpid ()); + { + fprintf (stderr, "\nLDP<%d>: ERROR: ldp_constructor: failed!\n", + getpid ()); + _exit (1); + } else if (LDP_DEBUG > 0) clib_warning ("LDP<%d>: LDP constructor: done!\n", getpid ()); }