mirror of
https://github.com/clearlinux/libnetwork.git
synced 2026-09-05 13:21:30 +00:00
Add network name
Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ func main() {
|
||||
net.IP = ip
|
||||
|
||||
options := libnetwork.DriverParams{"AddressIPv4": net}
|
||||
netw, err := libnetwork.NewNetwork("simplebridge", options)
|
||||
netw, err := libnetwork.NewNetwork("simplebridge", "dummy", options)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user