31 Mar
2016
31 Mar
'16
5:21 p.m.
On 31 Mar 2016, at 15:26, msuraev@sysmocom.de wrote:
+DEFUN(cfg_nat_include, + cfg_nat_include_cmd, + "bscs-config-file NAME", + "Set the filename of the BSC configuration to include.\n" + "The filename to be included.") +{ + const char *conf = argv[0]; + + if ('/' == conf[0]) + bsc_replace_string(_nat, &_nat->include_path, conf); + else { + _nat->include_path = talloc_strdup_append(_nat->include_path, + "/"); + _nat->include_path = talloc_strdup_append(_nat->include_path, + conf); + }
so If I write bscs-config-file bla.cfg bscs-config-file bla2.cfg How will nat->include_path look after this?