Bug 150945

Summary: PXE server only works on X86PC
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Jonathan Ward <Jonathan.Ward>
Component: NetworkAssignee: Uwe Gansert <ug>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: patch to test for service architecture

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.