diff --git a/loxinet/gobgpclient.go b/loxinet/gobgpclient.go index bd00984f3..40d1316d2 100644 --- a/loxinet/gobgpclient.go +++ b/loxinet/gobgpclient.go @@ -24,6 +24,7 @@ import ( "net" "os" "os/exec" + "strings" "sync" "time" @@ -1158,7 +1159,8 @@ func (gbh *GoBgpH) BGPGlobalConfigAdd(config cmn.GoBGPGlobalConfig) (int, error) }, }) - if err != nil { + if err != nil && !strings.Contains(err.Error(), "address already in use") { + tk.LogIt(tk.LogError, "[GoBGP] Error to start BGP %s \n", err.Error()) return -1, err }