From ba083e1a8e9f18671250049b88b55467aa4ef4d7 Mon Sep 17 00:00:00 2001 From: Eric Date: Sat, 31 Aug 2013 16:25:26 -0400 Subject: [PATCH] cleanup tab/spaces --- src/get_gateway.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/get_gateway.c b/src/get_gateway.c index 5615c5e..52e32b6 100644 --- a/src/get_gateway.c +++ b/src/get_gateway.c @@ -196,11 +196,11 @@ int get_default_gw(struct in_addr *gw, char *iface) int has_gw = 0; rt_msg = (struct rtmsg *) NLMSG_DATA(nlhdr); - + if ((rt_msg->rtm_family != AF_INET) || (rt_msg->rtm_table != RT_TABLE_MAIN)) { return -1; } - + rt_attr = (struct rtattr *) RTM_RTA(rt_msg); rt_len = RTM_PAYLOAD(nlhdr); while (RTA_OK(rt_attr, rt_len)) {