mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
Fix compile error if CONFIG_FEATURE_IP_ADDR isnt enabled
This commit is contained in:
parent
36c7478992
commit
19efb3dc59
@ -93,17 +93,17 @@ int ip_main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_FEATURE_IP_ROUTE
|
#ifdef CONFIG_FEATURE_IP_ROUTE
|
||||||
else if (matches(argv[1], "route") == 0) {
|
if (matches(argv[1], "route") == 0) {
|
||||||
ret = do_iproute(argc-2, argv+2);
|
ret = do_iproute(argc-2, argv+2);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_FEATURE_IP_LINK
|
#ifdef CONFIG_FEATURE_IP_LINK
|
||||||
else if (matches(argv[1], "link") == 0) {
|
if (matches(argv[1], "link") == 0) {
|
||||||
ret = do_iplink(argc-2, argv+2);
|
ret = do_iplink(argc-2, argv+2);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_FEATURE_IP_TUNNEL
|
#ifdef CONFIG_FEATURE_IP_TUNNEL
|
||||||
else if (matches(argv[1], "tunnel") == 0 || strcmp(argv[1], "tunl") == 0) {
|
if (matches(argv[1], "tunnel") == 0 || strcmp(argv[1], "tunl") == 0) {
|
||||||
ret = do_iptunnel(argc-2, argv+2);
|
ret = do_iptunnel(argc-2, argv+2);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user