diff options
author | Max <msuraev@sysmocom.de> | 2018-01-04 12:25:57 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-01-05 10:08:04 +0000 |
commit | 2f153b5020f4f15784b57e0aabb72fc2085b2448 (patch) | |
tree | 1d2f96d5c06cfd210a454c2e12add2f37e9b6d5d /include/osmocom/vty | |
parent | ff2eedac0f8c839ecb213f23a8e8e7d045afba7b (diff) |
Use 127.0.0.1 for GSMTAP logging by default
Previously the were no default value provided in case of unspecified
hostname in "log gsmtap" vty config. This leads to confusing log
messages because NULL was used as a hostname:
Inconsistent indentation -- leading whitespace must match adjacent lines, and
indentation must reflect child node levels. A mix of tabs and spaces is
allowed, but their sequence must not change within a child block.
Fix this by using 127.0.0.1 as default log destination and logging
hostname in case of errors.
Related: OS#2608
Change-Id: I58b1d4ec522af18024be2e56c9103b3db7936813
Diffstat (limited to 'include/osmocom/vty')
0 files changed, 0 insertions, 0 deletions