Skip to content
Snippets Groups Projects
Commit b2d099c1 authored by Steven Barth's avatar Steven Barth
Browse files

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: default avatarMathias Kresin <openwrt@kresin.me>

SVN-Revision: 42857
parent 14e6559e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment