diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-21 11:09:40 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-21 11:09:40 +0000 |
commit | 5e34ff29bcc870936ab18172f438a34d042d4e03 (patch) | |
tree | a5e7a528f2f916eb883f1161eadceacdf2dca4be /networking/udhcp/dhcpd.c | |
parent | 8b814b4a349e2262c0ad25793b05206a14651ebb (diff) | |
download | busybox-w32-5e34ff29bcc870936ab18172f438a34d042d4e03.tar.gz busybox-w32-5e34ff29bcc870936ab18172f438a34d042d4e03.tar.bz2 busybox-w32-5e34ff29bcc870936ab18172f438a34d042d4e03.zip |
*: mass renaming of USE_XXXX to IF_XXXX
and SKIP_XXXX to IF_NOT_XXXX - the second one was especially
badly named. It was not skipping anything!
Diffstat (limited to 'networking/udhcp/dhcpd.c')
-rw-r--r-- | networking/udhcp/dhcpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c index a82fd8c47..ccdfd362b 100644 --- a/networking/udhcp/dhcpd.c +++ b/networking/udhcp/dhcpd.c | |||
@@ -37,14 +37,14 @@ int udhcpd_main(int argc UNUSED_PARAM, char **argv) | |||
37 | unsigned opt; | 37 | unsigned opt; |
38 | struct option_set *option; | 38 | struct option_set *option; |
39 | struct dhcpOfferedAddr *lease, static_lease; | 39 | struct dhcpOfferedAddr *lease, static_lease; |
40 | USE_FEATURE_UDHCP_PORT(char *str_P;) | 40 | IF_FEATURE_UDHCP_PORT(char *str_P;) |
41 | 41 | ||
42 | #if ENABLE_FEATURE_UDHCP_PORT | 42 | #if ENABLE_FEATURE_UDHCP_PORT |
43 | SERVER_PORT = 67; | 43 | SERVER_PORT = 67; |
44 | CLIENT_PORT = 68; | 44 | CLIENT_PORT = 68; |
45 | #endif | 45 | #endif |
46 | 46 | ||
47 | opt = getopt32(argv, "fS" USE_FEATURE_UDHCP_PORT("P:", &str_P)); | 47 | opt = getopt32(argv, "fS" IF_FEATURE_UDHCP_PORT("P:", &str_P)); |
48 | argv += optind; | 48 | argv += optind; |
49 | if (!(opt & 1)) { /* no -f */ | 49 | if (!(opt & 1)) { /* no -f */ |
50 | bb_daemonize_or_rexec(0, argv); | 50 | bb_daemonize_or_rexec(0, argv); |