summaryrefslogtreecommitdiff
path: root/zebra/rt_socket.c
diff options
context:
space:
mode:
authorDenis Ovsienko <linux@pilot.org.ua>2007-09-14 11:31:55 +0000
committerDenis Ovsienko <linux@pilot.org.ua>2007-09-14 11:31:55 +0000
commit2d844524ad9431ea1e53336dfcfebd3ee6520cb7 (patch)
tree1c688c317f879922991c6d6c548b7f8fcd8e0490 /zebra/rt_socket.c
parentbd6c86d3a30d27ed4960863a653376c54e5e5e34 (diff)
Switch from LOOKUP() to lookup() for rtm_type (see bug #401 for details).
Diffstat (limited to 'zebra/rt_socket.c')
-rw-r--r--zebra/rt_socket.c4
1 files changed, 2 insertions, 2 deletions
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. */