New way to handle secondary addresses from Gilad Arnold.
diff --git a/zebra/interface.h b/zebra/interface.h
index b38a922..91578ff 100644
--- a/zebra/interface.h
+++ b/zebra/interface.h
@@ -159,6 +159,9 @@
/* Interface's address. */
struct list *address;
+ /* Installed addresses chains tree. */
+ struct route_table *ipv4_subnets;
+
#ifdef RTADV
struct rtadvconf rtadv;
#endif /* RTADV */
@@ -174,6 +177,8 @@
void if_up (struct interface *);
void if_down (struct interface *);
void if_refresh (struct interface *);
+int if_subnet_add (struct interface *, struct connected *);
+int if_subnet_delete (struct interface *, struct connected *);
#ifdef HAVE_PROC_NET_DEV
int ifstat_update_proc ();