diff --git a/prog/weaver/main.go b/prog/weaver/main.go index 77ead51e..a406b543 100644 --- a/prog/weaver/main.go +++ b/prog/weaver/main.go @@ -348,6 +348,8 @@ func createOverlay(datapathName string, ifaceName string, host string, port int, case datapathName != "" && ifaceName != "": Log.Fatal("At most one of --datapath and --iface must be specified.") case datapathName != "": + _, err := weavenet.EnsureInterface(datapathName) + checkFatal(err) fastdp, err := weave.NewFastDatapath(datapathName, port) checkFatal(err) bridge = fastdp.Bridge()