diff options
Diffstat (limited to 'package/libnl-tiny/src')
-rw-r--r-- | package/libnl-tiny/src/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libnl-tiny/src/socket.c b/package/libnl-tiny/src/socket.c index 6fe56fdc5..1429825e6 100644 --- a/package/libnl-tiny/src/socket.c +++ b/package/libnl-tiny/src/socket.c @@ -59,7 +59,7 @@ static void release_local_port(uint32_t port) return; nr = port >> 22; - used_ports_map[nr / 32] &= ~((nr % 32) + 1); + used_ports_map[nr / 32] &= ~(1 << nr % 32); } /** |