diff options
author | Steven Barth <cyrus@openwrt.org> | 2014-10-09 07:16:35 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2014-10-09 07:16:35 +0000 |
commit | b2d099c11c5e747aac3910e5d90133093d92760c (patch) | |
tree | 9142f4c15f07b7b072b007c2e7ea094ee39e83a3 /target/toolchain | |
parent | 14e6559eee9202d17f99493b5c7603b369c56294 (diff) | |
download | master-31e0f0ae-b2d099c11c5e747aac3910e5d90133093d92760c.tar.gz master-31e0f0ae-b2d099c11c5e747aac3910e5d90133093d92760c.tar.bz2 master-31e0f0ae-b2d099c11c5e747aac3910e5d90133093d92760c.zip |
dropbear: ensure the interface has an ip-address
Use network_get_ipaddrs_all to get all ip-addresses of an interface. If the
function fails, the interface does not exists or has not any suiteable ip
addresses assigned.
Use the returned ip-address(es) to construct the dropbear listen address.
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 42857
Diffstat (limited to 'target/toolchain')
0 files changed, 0 insertions, 0 deletions