From 36554506c9c7a0a3e3e4a8cf3b01b31d4737d5c3 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Wed, 11 Mar 2020 11:40:34 +0100 Subject: net: ifup command: add ethernet device completion ifup usually takes an ethernet device, so use ethernet device completion for the command. Signed-off-by: Sascha Hauer --- net/ifup.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'net') diff --git a/net/ifup.c b/net/ifup.c index e5e8ef2346..fa2c52ff8b 100644 --- a/net/ifup.c +++ b/net/ifup.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -341,6 +342,7 @@ BAREBOX_CMD_START(ifup) BAREBOX_CMD_DESC("bring a network interface up") BAREBOX_CMD_OPTS("[-af] [INTF]") BAREBOX_CMD_GROUP(CMD_GRP_NET) + BAREBOX_CMD_COMPLETE(eth_complete) BAREBOX_CMD_HELP(cmd_ifup_help) BAREBOX_CMD_END -- cgit v1.2.1