commit | 15596899a315b0b2bae3168baa054c574320f5e9 | [log] [tgz] |
---|---|---|
author | Alexander Couzens <lynxis@fe80.eu> | Mon Apr 19 03:31:05 2021 +0200 |
committer | laforge <laforge@osmocom.org> | Sun May 23 10:32:40 2021 +0000 |
tree | bfeba30c2ba68371a01a820d306b7b22c9359cd0 | |
parent | a35c296b6be95f240fe9c4207e5eec8d7886ca61 [diff] |
gprs_ns2: vty: fix removing a bind from a SNS Return 0 after removing a bind. Otherwise the vty would return a wrong error to the user. Change-Id: I088c18abafc82ae7bd7b8c487ad9e9b448c42ba9
diff --git a/src/gb/gprs_ns2_vty.c b/src/gb/gprs_ns2_vty.c index a782c5c..2777641 100644 --- a/src/gb/gprs_ns2_vty.c +++ b/src/gb/gprs_ns2_vty.c
@@ -217,6 +217,7 @@ if (vnse_bind->vbind == vbind) { llist_del(&vnse_bind->list); talloc_free(vnse_bind); + return 0; } }