diff options
author | Thomas Graf <tgraf@suug.ch> | 2013-06-28 18:53:16 +0200 |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2013-06-28 18:53:16 +0200 |
commit | 2d0810eb93704defb2375d9861892d6041da4623 (patch) | |
tree | 161f121651bdfd7d62f044ef505c2922bfd41790 /lib | |
parent | cd1c1e10416a1d1f7c1a76b304d7ce60f688e1d2 (diff) | |
download | libnl-2d0810eb93704defb2375d9861892d6041da4623.tar.gz |
socket: Warn via debug message if local port namespace is exhausted
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/socket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/socket.c b/lib/socket.c index 1ca77839..00d8d6af 100644 --- a/lib/socket.c +++ b/lib/socket.c @@ -89,6 +89,7 @@ static uint32_t generate_local_port(void) nl_write_unlock(&port_map_lock); /* Out of sockets in our own PID namespace, what to do? FIXME */ + NL_DBG(1, "Warning: Ran out of unique local port namespace\n"); return UINT_MAX; } |