[BusyBox 0001177]: Patch for hostname.c to solve configure of hostname by file

bugs at busybox.net bugs at busybox.net
Fri Jan 26 07:03:25 UTC 2007


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1177 
====================================================================== 
Reported By:                rockeychu
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1177
Category:                   Networking Support
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             01-25-2007 17:57 PST
Last Modified:              01-25-2007 23:03 PST
====================================================================== 
Summary:                    Patch for hostname.c to solve configure of hostname
by file
Description: 
This bug just introduced in Revision 17517. Without this patch, you can't
set hostname by file.

Patch as following:

Index: networking/hostname.c
===================================================================
--- networking/hostname.c       (revision 17534)
+++ networking/hostname.c       (working copy)
@@ -48,7 +48,7 @@
                OPT_f = 0x2,
                OPT_i = 0x4,
                OPT_s = 0x8,
-               OPT_F = 0x8,
+               OPT_F = 0x10,
                OPT_dfis = 0xf,
        };

====================================================================== 

---------------------------------------------------------------------- 
 vda - 01-25-07 23:03  
---------------------------------------------------------------------- 
fixed in rev 17536, thanks 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-25-07 17:57  rockeychu      New Issue                                    
01-25-07 17:57  rockeychu      Status                   new => assigned     
01-25-07 17:57  rockeychu      Assigned To               => BusyBox         
01-25-07 23:03  vda            Status                   assigned => closed  
01-25-07 23:03  vda            Note Added: 0002051                          
======================================================================




More information about the busybox-cvs mailing list