aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/ipneigh.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/ipneigh.c')
-rw-r--r--networking/libiproute/ipneigh.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/networking/libiproute/ipneigh.c b/networking/libiproute/ipneigh.c
index 151d3d109..d2028b7b6 100644
--- a/networking/libiproute/ipneigh.c
+++ b/networking/libiproute/ipneigh.c
@@ -42,6 +42,7 @@ struct filter_t {
42typedef struct filter_t filter_t; 42typedef struct filter_t filter_t;
43 43
44#define G_filter (*(filter_t*)bb_common_bufsiz1) 44#define G_filter (*(filter_t*)bb_common_bufsiz1)
45#define INIT_G() do { setup_common_bufsiz(); } while (0)
45 46
46static int flush_update(void) 47static int flush_update(void)
47{ 48{
@@ -339,6 +340,8 @@ int FAST_FUNC do_ipneigh(char **argv)
339 /*0-1*/ "show\0" "flush\0"; 340 /*0-1*/ "show\0" "flush\0";
340 int command_num; 341 int command_num;
341 342
343 INIT_G();
344
342 if (!*argv) 345 if (!*argv)
343 return ipneigh_list_or_flush(argv, 0); 346 return ipneigh_list_or_flush(argv, 0);
344 347