Ignore:
Timestamp:
2011-07-17T08:28:52+02:00 (5 years ago)
Author:
nbd
Message:

swconfig: avoid setting "NOVAL" attributes if "0" was provided as a value (backport of r27374)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/package/swconfig/src/swlib.c

    r24992 r27626  
    398398                break; 
    399399        case SWITCH_TYPE_NOVAL: 
     400                if (str && !strcmp(str, "0")) 
     401                        return 0; 
     402 
    400403                break; 
    401404        default: 
Note: See TracChangeset for help on using the changeset viewer.