Project

General

Profile

Actions

Bug #5195

closed

ns2: Removing a bind that's in use fails with ASSERT()

Added by daniel almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
Start date:
07/06/2021
Due date:
% Done:

100%

Spec Reference:

Description

telnet localhost 4246
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Welcome to the OsmoGbProxy VTY interface

Copyright (C) 2010 Harald Welte and On-Waves
License AGPLv3+: GNU AGPL version 3 or later <http://gnu.org/licenses/agpl-3.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
OsmoGbProxy> enable
OsmoGbProxy# configure terminal
OsmoGbProxy(config)# ns
OsmoGbProxy(config-ns)# bind fr hdlc3
OsmoGbProxy(config-ns-bind)# fr hdlc3 frnet
OsmoGbProxy(config-ns-bind)# 
OsmoGbProxy(config-ns)# nse 300
OsmoGbProxy(config-ns-nse)# nsvc fr hdlc3 dlci 302 nsvci 302
OsmoGbProxy(config-ns-nse)# 
OsmoGbProxy(config-ns)# no bind hdlc3
Connection closed by foreign host.
Jul 06 12:44:44 gbproxy-b osmo-gbproxy[16187]: Assert failed llist_empty(&bind->nsvc) gprs_ns2_fr.c:172

I'd expect the command to just fail if the bind is still in use

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)