Skip to content

Commit

Permalink
Fix: multi network interface need add a router
Browse files Browse the repository at this point in the history
Close #28
  • Loading branch information
cuisongliu committed Jun 28, 2022
1 parent e92ae37 commit 40c1385
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions care/care.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ func (care *LvsCare) SyncRouter() error {
ipv4 = true
}
if !ipv4 {
glog.Infof("tip: %s is not ipv4", LVS.TargetIP.String())
return nil
}
glog.Infof("tip: %s,vip: %s", LVS.TargetIP.String(), vIP)
Expand Down

0 comments on commit 40c1385

Please sign in to comment.