diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2011-07-30 21:26:10 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2011-07-30 21:26:10 +0200 |
commit | c13ae675563ce32aa0f9e556ac84f90b9396cd46 (patch) | |
tree | 564d2f7472af7ee7999119f85117855289d99073 /src | |
parent | 87eac438d72e8abfc05d9dc99ff80db8789ca5fd (diff) |
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 <jengelh@medozas.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/libnfnetlink.c | 4 |
1 files changed, 1 insertions, 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); - } } } |