Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
abdosi authored Nov 18, 2024
2 parents 42164d4 + 2e2d4e5 commit 6aead84
Show file tree
Hide file tree
Showing 13 changed files with 4,326 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/test-docker-sonic-vs-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo apt-add-repository https://packages.microsoft.com/ubuntu/20.04/prod
sudo apt-get update
sudo apt-get install -y dotnet-sdk-7.0
sudo apt-get install -y dotnet-sdk-8.0
sudo dotnet tool install dotnet-reportgenerator-globaltool --tool-path /usr/bin 2>&1 | tee log.log || grep 'already installed' log.log
rm log.log
displayName: "Install .NET CORE"
Expand Down
5 changes: 5 additions & 0 deletions fpmsyncd/fpmlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ bool FpmLink::isRawProcessing(struct nlmsghdr *h)

rtm = (struct rtmsg *)NLMSG_DATA(h);

if (h->nlmsg_type == RTM_NEWSRV6LOCALSID || h->nlmsg_type == RTM_DELSRV6LOCALSID)
{
return true;
}

if (h->nlmsg_type != RTM_NEWROUTE && h->nlmsg_type != RTM_DELROUTE)
{
return false;
Expand Down
3 changes: 3 additions & 0 deletions fpmsyncd/fpmlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
#include "fpmsyncd/fpminterface.h"
#include "fpmsyncd/routesync.h"

#define RTM_NEWSRV6LOCALSID 1000
#define RTM_DELSRV6LOCALSID 1001

namespace swss {

class FpmLink : public FpmInterface {
Expand Down
Loading

0 comments on commit 6aead84

Please sign in to comment.