From 2d844524ad9431ea1e53336dfcfebd3ee6520cb7 Mon Sep 17 00:00:00 2001 From: Denis Ovsienko Date: Fri, 14 Sep 2007 11:31:55 +0000 Subject: Switch from LOOKUP() to lookup() for rtm_type (see bug #401 for details). --- zebra/rt_socket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zebra/rt_socket.c') diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c index 63e4612f..1b8ded7e 100644 --- a/zebra/rt_socket.c +++ b/zebra/rt_socket.c @@ -211,14 +211,14 @@ kernel_rtm_ipv4 (int cmd, struct prefix *p, struct rib *rib, int family) if (!IS_ZEBRA_DEBUG_RIB) inet_ntop (AF_INET, &p->u.prefix, prefix_buf, INET_ADDRSTRLEN); zlog_err ("%s: %s/%d: rtm_write() unexpectedly returned %d for command %s", - __func__, prefix_buf, p->prefixlen, error, LOOKUP (rtm_type_str, cmd)); + __func__, prefix_buf, p->prefixlen, error, lookup (rtm_type_str, cmd)); break; } } /* if (cmd and flags make sense) */ else if (IS_ZEBRA_DEBUG_RIB) zlog_debug ("%s: odd command %s for flags %d", - __func__, LOOKUP (rtm_type_str, cmd), nexthop->flags); + __func__, lookup (rtm_type_str, cmd), nexthop->flags); } /* for (nexthop = ... */ /* If there was no useful nexthop, then complain. */ -- cgit v1.2.1