From: Donald Sharp Date: Fri, 13 Jan 2017 17:46:58 +0000 (-0500) Subject: zebra: Fixup paranthesis mistake X-Git-Tag: frr-3.0-branchpoint~87^2~3 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=3edabb996f2b017940b28f64119da33567d4847c;p=matthieu%2Ffrr.git zebra: Fixup paranthesis mistake Signed-off-by: Donald Sharp --- diff --git a/zebra/zebra_routemap.c b/zebra/zebra_routemap.c index 27bff68c75..f8f3c4318d 100644 --- a/zebra/zebra_routemap.c +++ b/zebra/zebra_routemap.c @@ -1240,8 +1240,8 @@ route_set_src_compile (const char *arg) { union g_addr src, *psrc; - if (inet_pton(AF_INET6, arg, &src.ipv6) == 1 || - src.ipv4.s_addr && (inet_pton(AF_INET, arg, &src.ipv4) == 1)) + if ((inet_pton(AF_INET6, arg, &src.ipv6) == 1) || + (src.ipv4.s_addr && (inet_pton(AF_INET, arg, &src.ipv4) == 1))) { psrc = XMALLOC (MTYPE_ROUTE_MAP_COMPILED, sizeof (union g_addr)); *psrc = src;