aboutsummaryrefslogtreecommitdiffstats
path: root/src/gb/gprs_ns2_vty.c
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2021-01-26 16:09:18 +0100
committerDaniel Willmann <dwillmann@sysmocom.de>2021-01-29 11:37:41 +0100
commit9043205cd9b936801a0071782747677d6f13e26e (patch)
tree684486cb02be1c56b171378d2096d170289534d7 /src/gb/gprs_ns2_vty.c
parent260cd52bd08ed20787883234ef91bf58a3e66e51 (diff)
ns2: Fix assert when removing a bind listen
Diffstat (limited to 'src/gb/gprs_ns2_vty.c')
-rw-r--r--src/gb/gprs_ns2_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gb/gprs_ns2_vty.c b/src/gb/gprs_ns2_vty.c
index 1c40759c..c2b9bd9a 100644
--- a/src/gb/gprs_ns2_vty.c
+++ b/src/gb/gprs_ns2_vty.c
@@ -516,7 +516,7 @@ DEFUN(cfg_no_ns_bind_listen, cfg_no_ns_bind_listen_cmd,
if (!bind)
return CMD_ERR_NOTHING_TODO;
- OSMO_ASSERT(bind->ll != GPRS_NS2_LL_UDP);
+ OSMO_ASSERT(bind->ll == GPRS_NS2_LL_UDP);
bind->driver->free_bind(bind);
return CMD_SUCCESS;
}