From ea9c6690cafb959d28c90fd5d01fce5bbb5f899b Mon Sep 17 00:00:00 2001 From: Abhishek Dosi Date: Wed, 24 Nov 2021 15:37:44 -0800 Subject: [PATCH] Revert "[fpmsyncd] Skip routes to eth0 or docker0 (#1606)" This reverts commit 901e2efb4f5c6a1179068b43e6a837dfff19d9d9. --- fpmsyncd/routesync.cpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/fpmsyncd/routesync.cpp b/fpmsyncd/routesync.cpp index 15a24f3b42..df9f4c09f7 100644 --- a/fpmsyncd/routesync.cpp +++ b/fpmsyncd/routesync.cpp @@ -168,21 +168,6 @@ void RouteSync::onRouteMsg(int nlmsg_type, struct nl_object *obj, char *vrf) string nexthops = getNextHopGw(route_obj); string ifnames = getNextHopIf(route_obj); - vector alsv = tokenize(ifnames, ','); - for (auto alias : alsv) - { - /* - * An FRR behavior change from 7.2 to 7.5 makes FRR update default route to eth0 in interface - * up/down events. Skipping routes to eth0 or docker0 to avoid such behavior - */ - if (alias == "eth0" || alias == "docker0") - { - SWSS_LOG_NOTICE("Skip routes to eth0 or docker0: %s %s %s", - destipprefix, nexthops.c_str(), ifnames.c_str()); - return; - } - } - vector fvVector; FieldValueTuple nh("nexthop", nexthops); FieldValueTuple idx("ifname", ifnames);