summaryrefslogtreecommitdiff
path: root/zebra/zebra_evpn_mac.c
diff options
context:
space:
mode:
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2020-05-10 18:02:37 -0700
committerAnuradha Karuppiah <anuradhak@nvidia.com>2020-11-24 10:20:32 -0800
commitb2ee2b71f4864c691e7b022e06e01b521745bc85 (patch)
treecb8be2384efbfe58239c0581e28d6f62e249a6bb /zebra/zebra_evpn_mac.c
parent2784d2c7d2b9d40509cfd9cb6ac59b9da06fbcfb (diff)
zebra: Keep DAD disabled if EVPN MH is turned on
DAD is not supported currently with EVPN-MH so we turn it off internally when the first ES config is detected. PS: Note that when all local ESs are deleted DAD will stay off and will need to be cleared via a daemon restart. Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_evpn_mac.c')
-rw-r--r--zebra/zebra_evpn_mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_evpn_mac.c b/zebra/zebra_evpn_mac.c
index 4a2d8db422..29efa1700e 100644
--- a/zebra/zebra_evpn_mac.c
+++ b/zebra/zebra_evpn_mac.c
@@ -343,7 +343,7 @@ static void zebra_evpn_dup_addr_detect_for_mac(struct zebra_vrf *zvrf,
char buf1[INET6_ADDRSTRLEN];
bool reset_params = false;
- if (!(zvrf->dup_addr_detect && do_dad))
+ if (!(zebra_evpn_do_dup_addr_detect(zvrf) && do_dad))
return;
/* MAC is detected as duplicate,