diff options
author | Greg Troxel <gdt@fnord.ir.bbn.com> | 2006-09-13 14:13:08 +0200 |
---|---|---|
committer | Greg Troxel <gdt@fnord.ir.bbn.com> | 2006-09-13 14:13:08 +0200 |
commit | 9458b8191563eb5569f341172484a234ef2f743e (patch) | |
tree | 3ff0f70665cef0504f09269dbb2edc92eb6b33e7 /zebra/kernel_socket.c | |
parent | [ripd] bug #293: routemap set metric doesn't check for underflow correctly (diff) | |
download | frr-9458b8191563eb5569f341172484a234ef2f743e.tar.xz frr-9458b8191563eb5569f341172484a234ef2f743e.zip |
2006-09-13 Tom Everett <tom@khubla.com>
* kernel_socket.c (rtm_type_str): ifdef RTM_OLD{ADD,DEL} to
compile on systems that no longer define them.
Diffstat (limited to '')
-rw-r--r-- | zebra/kernel_socket.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c index bd4d9c4bb..f384e979d 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"}, |