diff options
Diffstat (limited to '')
-rw-r--r-- | networking/libiproute/iproute.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c index 34d4f4758..e674e9a0d 100644 --- a/networking/libiproute/iproute.c +++ b/networking/libiproute/iproute.c | |||
@@ -45,6 +45,7 @@ struct filter_t { | |||
45 | typedef struct filter_t filter_t; | 45 | typedef struct filter_t filter_t; |
46 | 46 | ||
47 | #define G_filter (*(filter_t*)bb_common_bufsiz1) | 47 | #define G_filter (*(filter_t*)bb_common_bufsiz1) |
48 | #define INIT_G() do { setup_common_bufsiz(); } while (0) | ||
48 | 49 | ||
49 | static int flush_update(void) | 50 | static int flush_update(void) |
50 | { | 51 | { |
@@ -903,6 +904,8 @@ int FAST_FUNC do_iproute(char **argv) | |||
903 | unsigned flags = 0; | 904 | unsigned flags = 0; |
904 | int cmd = RTM_NEWROUTE; | 905 | int cmd = RTM_NEWROUTE; |
905 | 906 | ||
907 | INIT_G(); | ||
908 | |||
906 | if (!*argv) | 909 | if (!*argv) |
907 | return iproute_list_or_flush(argv, 0); | 910 | return iproute_list_or_flush(argv, 0); |
908 | 911 | ||