From 6b9f1633537e2ff06eb1a0741e4598a294f40fcb Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 28 Jan 2010 02:24:24 +0100 Subject: *: style fixes. no code changes (verified with objdump) Signed-off-by: Denys Vlasenko --- networking/libiproute/iprule.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'networking/libiproute/iprule.c') diff --git a/networking/libiproute/iprule.c b/networking/libiproute/iprule.c index e7674530c..535019d87 100644 --- a/networking/libiproute/iprule.c +++ b/networking/libiproute/iprule.c @@ -233,7 +233,8 @@ static int iprule_modify(int cmd, char **argv) addattr_l(&req.n, sizeof(req), RTA_DST, &dst.data, dst.bytelen); } else if (key == ARG_preference || key == ARG_order || - key == ARG_priority) { + key == ARG_priority + ) { uint32_t pref; NEXT_ARG(); pref = get_u32(*argv, "preference"); @@ -256,7 +257,8 @@ static int iprule_modify(int cmd, char **argv) invarg(*argv, "realms"); addattr32(&req.n, sizeof(req), RTA_FLOW, realm); } else if (key == ARG_table || - key == ARG_lookup) { + key == ARG_lookup + ) { uint32_t tid; NEXT_ARG(); if (rtnl_rttable_a2n(&tid, *argv)) @@ -264,11 +266,13 @@ static int iprule_modify(int cmd, char **argv) req.r.rtm_table = tid; table_ok = 1; } else if (key == ARG_dev || - key == ARG_iif) { + key == ARG_iif + ) { NEXT_ARG(); addattr_l(&req.n, sizeof(req), RTA_IIF, *argv, strlen(*argv)+1); } else if (key == ARG_nat || - key == ARG_map_to) { + key == ARG_map_to + ) { NEXT_ARG(); addattr32(&req.n, sizeof(req), RTA_GATEWAY, get_addr32(*argv)); req.r.rtm_type = RTN_NAT; -- cgit v1.2.3