Skip to content

Commit

Permalink
Remove IP neigh static flag (#858)
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
  • Loading branch information
glazychev-art committed Apr 28, 2023
1 parent 5411d41 commit 4a81add
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/vppinit/vppinit.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,6 @@ func addIPNeighbor(ctx context.Context, vppConn api.Connection, swIfIndex interf
IsAdd: true,
Neighbor: ip_neighbor.IPNeighbor{
SwIfIndex: swIfIndex,
Flags: ip_neighbor.IP_API_NEIGHBOR_FLAG_STATIC,
MacAddress: types.ToVppMacAddress(&entry.HardwareAddr),
IPAddress: types.ToVppAddress(entry.IP),
},
Expand Down Expand Up @@ -574,7 +573,6 @@ func addHostLinksAsNeighbours(ctx context.Context, vppConn api.Connection, link
IsAdd: true,
Neighbor: ip_neighbor.IPNeighbor{
SwIfIndex: swIfIndex,
Flags: ip_neighbor.IP_API_NEIGHBOR_FLAG_STATIC,
MacAddress: types.ToVppMacAddress(&hl.Attrs().HardwareAddr),
IPAddress: types.ToVppAddress(hlIP.IP),
},
Expand Down

0 comments on commit 4a81add

Please sign in to comment.