diff options
author | Thomas Haller <thaller@redhat.com> | 2014-11-24 17:14:50 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-11-24 18:30:21 +0100 |
commit | 94039ca48aad406acaffe6421ea2a06b05a69dde (patch) | |
tree | 3afb891f8b7088a53b6aba3c408c1587331968d5 /src | |
parent | 3b5226e3a2c4dc53c0932b7a65196345ffe5245a (diff) | |
download | libnl-94039ca48aad406acaffe6421ea2a06b05a69dde.tar.gz |
idiag: deprecate IDIAG_SS_* socket states
These values mirror TCP_* socket states from 'netinit/tcp.h'.
There is no good reason to expose a copy of those values.
User space should use the original values (if they care).
The only value that is actually useful is IDIAGNL_SS_ALL.
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/idiag-socket-details.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idiag-socket-details.c b/src/idiag-socket-details.c index 95686768..17bcef23 100644 --- a/src/idiag-socket-details.c +++ b/src/idiag-socket-details.c @@ -72,7 +72,7 @@ int main(int argc, char *argv[]) } } - if ((err = idiagnl_msg_alloc_cache(sock, AF_INET, IDIAG_SS_ALL, + if ((err = idiagnl_msg_alloc_cache(sock, AF_INET, IDIAGNL_SS_ALL, &idiag_cache))) { nl_cli_fatal(err, "Unable to allocate idiag msg cache: %s", nl_geterror(err)); |