Project

General

Profile

Actions

Bug #5747

closed

Configuration created via the vty is broken (% Invalid log level 0 for itap / q931)

Added by roox over 1 year ago. Updated over 1 year ago.

Status:
Rejected
Priority:
Normal
Assignee:
Target version:
-
Start date:
11/07/2022
Due date:
% Done:

0%


Description

'write' in the vty creates a broken config: "% Invalid log level 0 for itap / q931" is inserted in the log section

Used versions:
osmo-isdntap (v0~git20221017 - master from 07.11.2022)
libosmocore (v1.7.0.63 - master from 05.11.2022)

How to reproduce:

start with an empty configuration

echo "" > /etc/osmocom/osmo-isdntap.cfg

start osmo-isdntap

osmo-isdntap -c /etc/osmocom/osmo-isdntap.cfg

telnet 127.0.0.1 4270

osmo-isdntap> en
osmo-isdntap# conf t
osmo-isdntap(config)# isdntap
osmo-isdntap(config-isdntap)# line XXX dahdi TE2/0/1
osmo-isdntap(config-isdntap-line)# local-role network
osmo-isdntap(config-isdntap-line)# exit
osmo-isdntap(config-isdntap)# gsmtap remote-host 192.168.200.2
osmo-isdntap(config-isdntap)# output-path /tmp/
osmo-isdntap(config)# exit
osmo-isdntap# write

results in a config that erroneously adds

% Invalid log level 0 for itap
% Invalid log level 0 for q931

Files

osmo-isdntap.cfg-broken osmo-isdntap.cfg-broken 1.17 KB roox, 11/07/2022 11:39 PM
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)