Bug 150945 - PXE server only works on X86PC
Summary: PXE server only works on X86PC
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Network (show other bugs)
Version: Final
Hardware: All SuSE Linux 10.0
: P5 - None : Normal
Target Milestone: ---
Assignee: Uwe Gansert
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-14 20:49 UTC by Jonathan Ward
Modified: 2006-02-15 17:18 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
patch to test for service architecture (422 bytes, patch)
2006-02-14 20:50 UTC, Jonathan Ward
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Ward 2006-02-14 20:49:28 UTC
Small typo in options list generation causes loop to always exit with arch = X86PC. Patch follows.

-------------
--- options.cc.old      2003-02-02 08:24:29.000000000 -0500
+++ options.cc  2006-02-09 23:32:12.000000000 -0500
@@ -640,7 +640,7 @@
                return(NULL);
 
        // search for the arch name
-       for(i=0; i != CSA_types[i].arch_id; i++);
+       for(i=0; serv_ptr->csa != CSA_types[i].arch_id; i++);
        tmpc = new char[strlen(CSA_types[i].arch_name) +
          (strlen(serv_ptr->filebase)*2) + 8];
        sprintf(tmpc, "%s/%s/%s.%d", CSA_types[i].arch_name,
Comment 1 Jonathan Ward 2006-02-14 20:50:42 UTC
Created attachment 68453 [details]
patch to test for service architecture
Comment 2 Michael Gross 2006-02-15 16:02:22 UTC
Sorry but which package are we talking about?
Comment 3 Jonathan Ward 2006-02-15 16:20:47 UTC
The "pxe" package
Comment 4 Uwe Gansert 2006-02-15 17:18:49 UTC
thanks Jonathan for the fix.
Patch added to the package and submitted for the next beta.