Permalink
Browse files

All the BCEs must be flushed, not only kernel parts, when 'flush bc' …

…command is issued on had.
  • Loading branch information...
1 parent 08af377 commit 51f04db9bab0ae31dadf2f6b62e494dac1368498 t-momose committed Aug 25, 2006
Showing with 6 additions and 6 deletions.
  1. +1 −2 kame/kame/shisad/cnd.c
  2. +3 −3 kame/kame/shisad/had.c
  3. +2 −1 kame/kame/shisad/shisad.h
View
@@ -1,4 +1,4 @@
-/* $KAME: cnd.c,v 1.15 2006/08/02 11:00:56 t-momose Exp $ */
+/* $KAME: cnd.c,v 1.16 2006/08/25 07:02:15 t-momose Exp $ */
/*
* Copyright (C) 2004 WIDE Project.
@@ -90,7 +90,6 @@ int command_port = CND_COMMAND_PORT;
char *conffile = CND_CONFFILE;
static void cn_lists_init(void);
-void flush_bc(void);
void
cn_usage(path)
View
@@ -1,4 +1,4 @@
-/* $KAME: had.c,v 1.35 2006/08/02 11:00:56 t-momose Exp $ */
+/* $KAME: had.c,v 1.36 2006/08/25 07:02:15 t-momose Exp $ */
/*
* Copyright (C) 2004 WIDE Project.
@@ -569,8 +569,8 @@ had_flush_bc(s, line)
char *line;
{
command_printf(s, "-- Clear Binding Cache --\n");
- /*flush_bc();*/
- mip6_flush_kernel_bc();
+ flush_bc();
+ /*mip6_flush_kernel_bc();*/
}
static void
@@ -1,4 +1,4 @@
-/* $KAME: shisad.h,v 1.39 2006/08/02 11:00:56 t-momose Exp $ */
+/* $KAME: shisad.h,v 1.40 2006/08/25 07:02:15 t-momose Exp $ */
/*
* Copyright (C) 2004 WIDE Project.
@@ -517,6 +517,7 @@ struct mip6_hoainfo *hoainfo_insert(struct in6_addr *, u_int16_t);
int hoainfo_remove(struct in6_addr *);
struct mip6_hoainfo *hoainfo_get_withdhaadid (u_int16_t);
void mip6_bc_init(void);
+void flush_bc(void);
void mip6_flush_kernel_bc(void);
void mip6_bc_delete(struct binding_cache *);
void mip6_bc_refresh_timer(void *);

0 comments on commit 51f04db

Please sign in to comment.