osmo-iuh[master]: hnbgw: parameterize iuh local port: add vty cmd

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Tue Oct 18 18:45:49 UTC 2016


Patch Set 1:

(2 comments)

https://gerrit.osmocom.org/#/c/1060/1/src/hnbgw.c
File src/hnbgw.c:

Line 327: 	if (!g_hnb_gw->config.iuh_local_port)
> we normally solve such cases by initializing g_hnb_gw->config.iuh_local_por
-> comment at https://gerrit.osmocom.org/#/c/1062/1/include/osmocom/iuh/hnbgw.h@161 explains why and ...


https://gerrit.osmocom.org/#/c/1060/1/src/hnbgw_vty.c
File src/hnbgw_vty.c:

Line 156: 	if (port && port != IUH_DEFAULT_SCTP_PORT)
...and for the argument to be valid this would have to *only* check for 'if (port)' and write any value back that was set by the user explicitly even if it happens to be the default.


-- 
To view, visit https://gerrit.osmocom.org/1060
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I4b5e9fe9fcfa489069a0728d47899ef4a61f7ce5
Gerrit-PatchSet: 1
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-HasComments: Yes



More information about the gerrit-log mailing list