aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}