Skip to content

Commit 7e935e8

Browse files
author
Shuotian Cheng
authored
orchagent: Replacing 0::0 with :: (sonic-net#104)
1 parent bb85db3 commit 7e935e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

orchagent/routeorch.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ RouteOrch::RouteOrch(DBConnector *db, string tableName, NeighOrch *neighOrch) :
5454
}
5555

5656
// add default v6 route into the m_syncdRoutes
57-
m_syncdRoutes[v6_default_ip_prefix] = IpAddresses("0::0");
57+
m_syncdRoutes[v6_default_ip_prefix] = IpAddresses("::");
5858

5959
SWSS_LOG_NOTICE("Create v6 default route with packet action drop");
6060
}
@@ -525,7 +525,7 @@ bool RouteOrch::removeRoute(IpPrefix ipPrefix)
525525
}
526526
else
527527
{
528-
m_syncdRoutes[ipPrefix] = IpAddresses("0::0");
528+
m_syncdRoutes[ipPrefix] = IpAddresses("::");
529529
}
530530
}
531531
else

0 commit comments

Comments
 (0)