diff options
-rw-r--r-- | networking/libiproute/iprule.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/networking/libiproute/iprule.c b/networking/libiproute/iprule.c index 2a1b3746c..2f3dc9841 100644 --- a/networking/libiproute/iprule.c +++ b/networking/libiproute/iprule.c | |||
@@ -24,6 +24,7 @@ | |||
24 | 24 | ||
25 | #include "rt_names.h" | 25 | #include "rt_names.h" |
26 | #include "utils.h" | 26 | #include "utils.h" |
27 | #include "ip_common.h" | ||
27 | /* | 28 | /* |
28 | static void usage(void) __attribute__((noreturn)); | 29 | static void usage(void) __attribute__((noreturn)); |
29 | 30 | ||
@@ -158,7 +159,7 @@ static int print_rule(struct sockaddr_nl *who ATTRIBUTE_UNUSED, | |||
158 | return 0; | 159 | return 0; |
159 | } | 160 | } |
160 | 161 | ||
161 | int iprule_list(int argc, char **argv) | 162 | static int iprule_list(int argc, char **argv) |
162 | { | 163 | { |
163 | struct rtnl_handle rth; | 164 | struct rtnl_handle rth; |
164 | int af = preferred_family; | 165 | int af = preferred_family; |
@@ -188,7 +189,7 @@ int iprule_list(int argc, char **argv) | |||
188 | } | 189 | } |
189 | 190 | ||
190 | 191 | ||
191 | int iprule_modify(int cmd, int argc, char **argv) | 192 | static int iprule_modify(int cmd, int argc, char **argv) |
192 | { | 193 | { |
193 | int table_ok = 0; | 194 | int table_ok = 0; |
194 | struct rtnl_handle rth; | 195 | struct rtnl_handle rth; |