mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 01:32:18 +02:00
VR: consider NICs for remote access VPN when apply dhcp entry (#11681)
This commit is contained in:
parent
9167cd3b72
commit
393b5d2b77
@ -226,7 +226,7 @@ class CsDhcp(CsDataBag):
|
||||
i = IPAddress(entry['ipv4_address'])
|
||||
# Calculate the device
|
||||
for v in self.devinfo:
|
||||
if i > v['network'].network and i < v['network'].broadcast:
|
||||
if i > v['network'].network and v['network'].broadcast and i < v['network'].broadcast:
|
||||
v['dnsmasq'] = True
|
||||
# Virtual Router
|
||||
v['gateway'] = entry['default_gateway']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user