diff options
author | Steven Barth <steven@midlink.org> | 2014-10-09 07:16:35 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-10-09 07:16:35 +0000 |
commit | 143de7849fdcbaed62749d2a841405c0b1c10ff3 (patch) | |
tree | 7eadacad8fed6547944347a5d2a2398d4a403ea5 /feeds.conf.default | |
parent | c9ab6f3a677551b7945a56de31af9aff64fc632e (diff) | |
download | upstream-143de7849fdcbaed62749d2a841405c0b1c10ff3.tar.gz upstream-143de7849fdcbaed62749d2a841405c0b1c10ff3.tar.bz2 upstream-143de7849fdcbaed62749d2a841405c0b1c10ff3.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42857 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'feeds.conf.default')
0 files changed, 0 insertions, 0 deletions