mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
virsh: limit completion of net-dhcp-leases to active networks
Signed-off-by: Lin Ma <lma@suse.de> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
a9aac97fdb
commit
81dd306fa7
@ -1372,7 +1372,7 @@ static const vshCmdInfo info_network_dhcp_leases[] = {
|
||||
};
|
||||
|
||||
static const vshCmdOptDef opts_network_dhcp_leases[] = {
|
||||
VIRSH_COMMON_OPT_NETWORK_FULL(0),
|
||||
VIRSH_COMMON_OPT_NETWORK_FULL(VIR_CONNECT_LIST_NETWORKS_ACTIVE),
|
||||
{.name = "mac",
|
||||
.type = VSH_OT_STRING,
|
||||
.flags = VSH_OFLAG_NONE,
|
||||
|
Loading…
x
Reference in New Issue
Block a user