Changeset 62 for trunk/pxeconfig
- Timestamp:
- 11/22/05 12:22:18 (17 years ago)
- Location:
- trunk/pxeconfig
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pxeconfig/Changelog
r60 r62 1 0.6.3: 2 - Added hostname lookup feature to hexls. If succes it will display the 3 HEX address, ip-number, hostname, eg: 4 C0A811DD => 192.168.17.221 => gb-r13n5.irc.sara.nl 5 1 6 0.6.2: 2 7 - Fixed a bug in the non-interactive mode reported by and fixed -
trunk/pxeconfig/DEBIAN/control
r59 r62 6 6 Depends: python 7 7 Architecture: i386 8 Version: 0.6. 1-28 Version: 0.6.3-1 9 9 Description: utilities to boot computers with PXE-enabled network cards -
trunk/pxeconfig/hexls
r61 r62 35 35 import string 36 36 import re 37 import socket 37 38 38 39 def hexls(path): … … 50 51 hostname = socket.gethostbyaddr(ipaddr) 51 52 if hostname: 52 print '%s => %s => %s' % (f, ipaddr, hostname )53 print '%s => %s => %s' % (f, ipaddr, hostname[0]) 53 54 else: 54 55 print '%s => %s' % (f, ipaddr)
Note: See TracChangeset
for help on using the changeset viewer.