Browse Source

nuke some debugging code

r15114
tags/0.64
Joshua Kwan 17 years ago
parent
commit
cd3ba67a97
1 changed files with 0 additions and 21 deletions
  1. +0
    -21
      netcfg.c

+ 0
- 21
netcfg.c View File

@@ -106,30 +106,9 @@ int main(void)
mii_result = mii_diag_status_lite(interface);
ifconfig_down(interface);

di_debug("mii_result = %s",
mii_result == DHCP ? "DHCP" :
( mii_result == STATIC ? "static" :
( mii_result == DUNNO ? "dunno!" : "REALLY dunno")));

di_debug("res = %s",
res == NOT_ASKED ? "not asked" :
( res == GO_BACK ? "go back" : "unknown" ));

/* Don't override the user's choice. */
di_debug("netcfg_method = %s",
netcfg_method == DHCP ? "DHCP" :
( netcfg_method == STATIC ? "static" :
( netcfg_method == DUNNO ? "dunno!" : "REALLY dunno")));
if (mii_result != DUNNO && res == NOT_ASKED)
netcfg_method = mii_result;


di_debug("netcfg_method = %s",
netcfg_method == DHCP ? "DHCP" :
( netcfg_method == STATIC ? "static" :
( netcfg_method == DUNNO ? "dunno!" : "REALLY dunno")));

if (netcfg_method == DHCP)
state = GET_DHCP;
else


Loading…
Cancel
Save