Show
Ignore:
Timestamp:
05/17/10 10:10:45 (2 years ago)
Author:
Frederic Lepied <frederic.lepied@…>
Children:
02a019ce37e905576ea50afe3477d127accbbcfd
Parents:
338af1e36517b21d1a204bda11a8b488b575fb3c
git-committer:
Frederic Lepied <frederic.lepied@…> (05/17/10 10:10:45)
Message:

simplify_ip: report IP addresses in hexa in uppercase to fit with tftp naming

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pxe/common.py

    r73db309 ra6b45f1  
    22# Project         : pxemngr 
    33# File            : common.py 
    4 # Copyright       : 2009 Splitted-Desktop Systems 
     4# Copyright       : 2009-2010 Splitted-Desktop Systems 
    55# Author          : Frederic Lepied 
    66# Created On      : Sun Feb  1 19:03:58 2009 
     
    9797    s = '' 
    9898    for e in l: 
    99         s = s + '%02x' % int(e) 
     99        s = s + '%02X' % int(e) 
    100100    return s 
    101101