Skip to content

Commit 393b5d2

Browse files
VR: consider NICs for remote access VPN when apply dhcp entry (#11681)
1 parent 9167cd3 commit 393b5d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

systemvm/debian/opt/cloud/bin/cs/CsDhcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def add(self, entry):
226226
i = IPAddress(entry['ipv4_address'])
227227
# Calculate the device
228228
for v in self.devinfo:
229-
if i > v['network'].network and i < v['network'].broadcast:
229+
if i > v['network'].network and v['network'].broadcast and i < v['network'].broadcast:
230230
v['dnsmasq'] = True
231231
# Virtual Router
232232
v['gateway'] = entry['default_gateway']

0 commit comments

Comments
 (0)