fix: automatically reserve guest gateway IP (#19138)

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
Jian Qiu
2023-12-30 17:11:50 +08:00
committed by GitHub
co-authored by Qiu Jian
parent 33556cdf40
commit 141f46f35d
2 changed files with 330 additions and 294 deletions
+6 -6
View File
@@ -401,17 +401,17 @@ type NetworkUpdateInput struct {
// 接收IP地址
GuestIpEnd string `json:"guest_ip_end"`
// 掩码
GuestIpMask *int8 `json:"guest_ip_mask"`
GuestIpMask int8 `json:"guest_ip_mask"`
// 网关地址
GuestGateway string `json:"guest_gateway"`
GuestGateway *string `json:"guest_gateway"`
// DNS
GuestDns string `json:"guest_dns"`
GuestDns *string `json:"guest_dns"`
// allow multiple dhcp, seperated by ","
GuestDhcp string `json:"guest_dhcp"`
GuestDhcp *string `json:"guest_dhcp"`
// NTP
GuestNtp string `json:"guest_ntp"`
GuestNtp *string `json:"guest_ntp"`
GuestDomain string `json:"guest_domain"`
GuestDomain *string `json:"guest_domain"`
VlanId *int `json:"vlan_id"`
File diff suppressed because it is too large Load Diff