summaryrefslogtreecommitdiffstats
path: root/zebra/redistribute.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/redistribute.c')
-rw-r--r--zebra/redistribute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/redistribute.c b/zebra/redistribute.c
index 2ee5da5d9..843f5ad4b 100644
--- a/zebra/redistribute.c
+++ b/zebra/redistribute.c
@@ -626,8 +626,8 @@ zebra_import_table (afi_t afi, u_int32_t table_id, u_int32_t distance, int add)
if (!rib)
continue;
- if ((afi == AFI_IP) && (rn->p.family == AF_INET) ||
- (afi == AFI_IP6) && (rn->p.family == AF_INET6))
+ if (((afi == AFI_IP) && (rn->p.family == AF_INET)) ||
+ ((afi == AFI_IP6) && (rn->p.family == AF_INET6)))
{
if (add)
zebra_add_import_table_entry (rn, rib);