summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bgpd/bgp_pbr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bgpd/bgp_pbr.c b/bgpd/bgp_pbr.c
index 7b5e287242..b71e19ab33 100644
--- a/bgpd/bgp_pbr.c
+++ b/bgpd/bgp_pbr.c
@@ -2074,6 +2074,9 @@ static void bgp_pbr_icmp_action(struct bgp *bgp, struct bgp_path_info *path,
bgp, path, bpf);
}
}
+
+ bpf->src_port = NULL;
+ bpf->dst_port = NULL;
}
static void bgp_pbr_policyroute_remove_from_zebra_recursive(