mirror of
https://github.com/MengMengCode/CLICD.git
synced 2026-08-08 14:34:49 +08:00
添加管理员端路由管理功能,查看当前系统剩余的NAT4或者V6地址剩余情况
This commit is contained in:
@@ -1425,7 +1425,7 @@ func (m *Manager) DestroyContainer(id int) error {
|
||||
}
|
||||
lxcName := c.LxcName()
|
||||
if c.IPv6 != "" && c.IPv6Interface != "" {
|
||||
removeIPv6NAT66(c.IPv6, c.IPv6Interface)
|
||||
removeHostIPv6Routing(c.IPv6, c.IPv6Interface)
|
||||
}
|
||||
|
||||
if err := m.StopContainer(id); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user