Skip to content

Commit

Permalink
fix speaker log (#3487)
Browse files Browse the repository at this point in the history
  • Loading branch information
KillMaster9 authored Dec 22, 2023
1 parent a106e7f commit ef35f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/speaker/subnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (c *Controller) syncSubnetRoutes() {
for _, path := range d.Paths {
attrInterfaces, _ := bgpapiutil.UnmarshalPathAttributes(path.Pattrs)
nextHop := getNextHopFromPathAttributes(attrInterfaces)
klog.V(5).Infof("nexthop is %s, routerID is %s", nextHop.String(), c.config.RouterID)
klog.V(5).Infof("the route Prefix is %s, NextHop is %s", d.Prefix, nextHop.String())
ipFamily := util.CheckProtocol(nextHop.String())
route, _ := netlink.RouteGet(nextHop)
if len(route) == 1 && route[0].Type == unix.RTN_LOCAL || nextHop.String() == c.config.RouterID {
Expand Down

0 comments on commit ef35f62

Please sign in to comment.