summaryrefslogtreecommitdiffstats
path: root/urlinstall.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-01-06 15:00:40 +0000
committerMatt Wilson <msw@redhat.com>2000-01-06 15:00:40 +0000
commit77e10526955536dcc65b8fc484360a2e634f649e (patch)
tree3768427b6362cd60c99c1b4cb00f4aa1a5cf21a7 /urlinstall.py
parent2f5364beda5b899fccb1d4d95e378db0ae1a545b (diff)
downloadanaconda-77e10526955536dcc65b8fc484360a2e634f649e.tar.gz
anaconda-77e10526955536dcc65b8fc484360a2e634f649e.tar.xz
anaconda-77e10526955536dcc65b8fc484360a2e634f649e.zip
merge from Alpha/SPARC branch
Diffstat (limited to 'urlinstall.py')
-rw-r--r--urlinstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/urlinstall.py b/urlinstall.py
index 0799b279d..ebe03e919 100644
--- a/urlinstall.py
+++ b/urlinstall.py
@@ -48,7 +48,7 @@ class InstallMethod:
hl = []
while (raw):
info = struct.unpack("iiii", raw)
- magic1 = socket.ntohl(info[0])
+ magic1 = socket.ntohl(info[0]) & 0xffffffff
if (magic1 != 0x8eade801 or info[1]):
raise TypeError, "bad magic in header"