Skip to content

Commit ea9c669

Browse files
committed
Revert "[fpmsyncd] Skip routes to eth0 or docker0 (#1606)"
This reverts commit 901e2ef.
1 parent a0417f6 commit ea9c669

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

fpmsyncd/routesync.cpp

-15
Original file line numberDiff line numberDiff line change
@@ -168,21 +168,6 @@ void RouteSync::onRouteMsg(int nlmsg_type, struct nl_object *obj, char *vrf)
168168
string nexthops = getNextHopGw(route_obj);
169169
string ifnames = getNextHopIf(route_obj);
170170

171-
vector<string> alsv = tokenize(ifnames, ',');
172-
for (auto alias : alsv)
173-
{
174-
/*
175-
* An FRR behavior change from 7.2 to 7.5 makes FRR update default route to eth0 in interface
176-
* up/down events. Skipping routes to eth0 or docker0 to avoid such behavior
177-
*/
178-
if (alias == "eth0" || alias == "docker0")
179-
{
180-
SWSS_LOG_NOTICE("Skip routes to eth0 or docker0: %s %s %s",
181-
destipprefix, nexthops.c_str(), ifnames.c_str());
182-
return;
183-
}
184-
}
185-
186171
vector<FieldValueTuple> fvVector;
187172
FieldValueTuple nh("nexthop", nexthops);
188173
FieldValueTuple idx("ifname", ifnames);

0 commit comments

Comments
 (0)