diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-09-09 14:27:22 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-09-09 14:29:06 +0200 |
commit | d5ca317dbdd246205f88b62fea2e765341bc9706 (patch) | |
tree | 1482904950dcd8efaa2a8c9ce0d780042b4940bb | |
parent | 0906b438b66d6897804c0f03e201d6229326ac2b (diff) | |
download | tcpdump-d5ca317dbdd246205f88b62fea2e765341bc9706.tar.gz |
More status exit codes for a program using libnetdissect
It can now use status exit codes 0 to 10.
-rw-r--r-- | status-exit-codes.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/status-exit-codes.h b/status-exit-codes.h index 87872daa..34d9d16b 100644 --- a/status-exit-codes.h +++ b/status-exit-codes.h @@ -22,11 +22,11 @@ typedef enum { S_SUCCESS = 0, /* not a libnetdissect status */ S_ERR_HOST_PROGRAM = 1, /* not a libnetdissect status */ - S_ERR_ND_NO_PRINTER = 2, - S_ERR_ND_MEM_ALLOC = 3, - S_ERR_ND_OPEN_FILE = 4, - S_ERR_ND_WRITE_FILE = 5, - S_ERR_ND_ESP_SECRET = 6 + S_ERR_ND_NO_PRINTER = 11, + S_ERR_ND_MEM_ALLOC = 12, + S_ERR_ND_OPEN_FILE = 13, + S_ERR_ND_WRITE_FILE = 14, + S_ERR_ND_ESP_SECRET = 15 } status_exit_codes_t; #endif /* status_exit_codes_h */ |