From c13ae675563ce32aa0f9e556ac84f90b9396cd46 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 30 Jul 2011 21:26:10 +0200 Subject: nfnl: avoid exit on large packet Using exit from shared libraries is unwelcome (automated build systems flag it) and one should rather return gracefully. Looking at this particular spot however, while a Signed-off-by: Jan Engelhardt --- src/libnfnetlink.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libnfnetlink.c b/src/libnfnetlink.c index 2f962fc..0234e6f 100644 --- a/src/libnfnetlink.c +++ b/src/libnfnetlink.c @@ -779,10 +779,8 @@ cont: nfnl_error("Messages truncated\n"); continue; } - if (status) { + if (status) nfnl_error("Remnant of size %d\n", status); - exit(1); - } } } -- cgit v1.2.3