commit | 0db1d43c0d6bdf4c2e67a07ebf77923e9e191aff | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Mon Feb 22 13:29:09 2016 +0100 |
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Thu Feb 25 12:12:28 2016 +0100 |
tree | 43115ff14d48510eb0de206dcfff3562c9e6c037 | |
parent | 86fc3c8787a9c29f566a44969d528a604ee7e11f [diff] |
ipa driver: make bind address vty configurable Add VTY function to set the ipa bind address: e1_input ipa bind A.B.C.D Add a priv pointer to struct e1inp_driver in order to communicate the bind address parameter to ipaccess_line_update(). Add two "internal.h" functions to get/set it in the ipa driver struct. Add static ip_bind_addr() to use the IP address set from the VTY or, if NULL, use "0.0.0.0". Apply in ipaccess_line_update().