Changeset 6245
- Timestamp:
- Sep 4, 2008, 11:32:51 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
exodus/wllogic.py
r6244 r6245 37 37 def broadcast(address, netmask): 38 38 """IPv4 network address when address and netmask are given""" 39 return( (parseaddr(address) & netmask2subnet(netmask)) | 0xffffffff >> netmask)39 return(parseaddr(address) | 0xffffffff >> netmask) 40 40 41 41 def getNetwork(address, netmask):
Note:
See TracChangeset
for help on using the changeset viewer.