diff options
Diffstat (limited to 'libvirt/network_def.go')
-rw-r--r-- | libvirt/network_def.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt/network_def.go b/libvirt/network_def.go index dcfa7eb0..e62bdfc2 100644 --- a/libvirt/network_def.go +++ b/libvirt/network_def.go @@ -7,7 +7,7 @@ import ( "github.com/libvirt/libvirt-go-xml" ) -// Check if the network has a DHCP server managed by libvirt +// HasDHCP Check if the network has a DHCP server managed by libvirt func HasDHCP(net libvirtxml.Network) bool { if net.Forward != nil { if net.Forward.Mode == "nat" || net.Forward.Mode == "route" || net.Forward.Mode == "" { |