From 9458b8191563eb5569f341172484a234ef2f743e Mon Sep 17 00:00:00 2001 From: Greg Troxel Date: Wed, 13 Sep 2006 12:13:08 +0000 Subject: 2006-09-13 Tom Everett * kernel_socket.c (rtm_type_str): ifdef RTM_OLD{ADD,DEL} to compile on systems that no longer define them. --- zebra/ChangeLog | 5 +++++ zebra/kernel_socket.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/zebra/ChangeLog b/zebra/ChangeLog index 62287d0b..0740e756 100644 --- a/zebra/ChangeLog +++ b/zebra/ChangeLog @@ -1,3 +1,8 @@ +2006-09-13 Tom Everett + + * kernel_socket.c (rtm_type_str): ifdef RTM_OLD{ADD,DEL} to + compile on systems that no longer define them. + 2006-08-06 Paul Jakma * interface.h: (ifstat_update_proc) declaration should match diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c index bd4d9c4b..f384e979 100644 --- a/zebra/kernel_socket.c +++ b/zebra/kernel_socket.c @@ -136,8 +136,12 @@ struct message rtm_type_str[] = {RTM_REDIRECT, "RTM_REDIRECT"}, {RTM_MISS, "RTM_MISS"}, {RTM_LOCK, "RTM_LOCK"}, +#ifdef OLDADD {RTM_OLDADD, "RTM_OLDADD"}, +#endif /* RTM_OLDADD */ +#ifdef RTM_OLDDEL {RTM_OLDDEL, "RTM_OLDDEL"}, +#endif /* RTM_OLDDEL */ {RTM_RESOLVE, "RTM_RESOLVE"}, {RTM_NEWADDR, "RTM_NEWADDR"}, {RTM_DELADDR, "RTM_DELADDR"}, -- cgit v1.2.1