weizhouapache commented on issue #11677:
URL: https://github.com/apache/cloudstack/issues/11677#issuecomment-3307731492
@leolns
can you test the changes below with /opt/cloud/bin/cs/CsDhcp.py ?
```
diff --git a/systemvm/debian/opt/cloud/bin/cs/CsDhcp.py
b/systemvm/debian/opt/cloud/bin/cs/CsDhcp.py
index 0f9f4a59374..e831001626d 100755
--- a/systemvm/debian/opt/cloud/bin/cs/CsDhcp.py
+++ b/systemvm/debian/opt/cloud/bin/cs/CsDhcp.py
@@ -231,7 +231,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']
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]