]> The Tcpdump Group git mirrors - tcpdump/blobdiff - tcpdump.c
icmp: clean up the extension code and comments.
[tcpdump] / tcpdump.c
index 73e097196d85ef1c961e5581de28aa72dddbcd50..e028d2e7ebdfa8fcd751efe1d23ddac5199d82d7 100644 (file)
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -2727,7 +2727,7 @@ DIAG_ON_ASSIGN_ENUM
 
        free(cmdbuf);
        pcap_freecode(&fcode);
-       exit_tcpdump(status == -1 ? 1 : 0);
+       exit_tcpdump(status == -1 ? S_ERR_HOST_PROGRAM : S_SUCCESS);
 }
 
 /*