diff options
author | Jeremy Katz <katzj@redhat.com> | 2006-06-15 20:20:43 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2006-06-15 20:20:43 +0000 |
commit | ed1e9645b166fa45ce1d88037e1b24b4fb531e03 (patch) | |
tree | a92f3f7b298f42fc5da9086b182bf390a8d4cf71 /isys/isys.py | |
parent | ea2b0e0b6a99a464fd2bd27e9334542217641aa8 (diff) | |
download | anaconda-ed1e9645b166fa45ce1d88037e1b24b4fb531e03.tar.gz anaconda-ed1e9645b166fa45ce1d88037e1b24b4fb531e03.tar.xz anaconda-ed1e9645b166fa45ce1d88037e1b24b4fb531e03.zip |
2006-06-15 Jeremy Katz <katzj@redhat.com>
* isys/isys.py (inet_ntoa): Fix on 64bit machines
Diffstat (limited to 'isys/isys.py')
-rw-r--r-- | isys/isys.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/isys.py b/isys/isys.py index b743c02c6..2c9e9db8f 100644 --- a/isys/isys.py +++ b/isys/isys.py @@ -388,7 +388,7 @@ def mknod(pathname, mode, dev): # XXX: Use socket.getnameinfo for ipv6 compatibility def inet_ntoa (addr): - return socket.inet_ntoa(struct.pack('l', addr)) + return socket.inet_ntoa(struct.pack('i', addr)) def inet_aton (addr): try: |