From 6d3de81a582ff2d8e5b59bb66da8fd4871886aeb Mon Sep 17 00:00:00 2001 From: wuxingzhong <330332812@qq.com> Date: Thu, 8 Aug 2019 16:13:39 +0800 Subject: [PATCH] judge if interface is up --- pkg/net/ip/ip.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/net/ip/ip.go b/pkg/net/ip/ip.go index 0966ccc5e..f9d572628 100644 --- a/pkg/net/ip/ip.go +++ b/pkg/net/ip/ip.go @@ -66,6 +66,7 @@ func InternalIP() string { } } return "" + } // isUp Interface is up