projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f716a6d
)
use USE_FEATURE_UDHCP_PORT instead of ifdef
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 15 Jun 2008 09:58:53 +0000
(09:58 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 15 Jun 2008 09:58:53 +0000
(09:58 -0000)
networking/udhcp/dhcpc.h
patch
|
blob
|
history
diff --git
a/networking/udhcp/dhcpc.h
b/networking/udhcp/dhcpc.h
index 1ebccd40522b6eec5063ebd6f95382ba7ddc1dd5..04e320cf0de7be8a52a20243fe88b73f57fbfe33 100644
(file)
--- a/
networking/udhcp/dhcpc.h
+++ b/
networking/udhcp/dhcpc.h
@@
-13,9
+13,7
@@
struct client_config_t {
/* TODO: combine flag fields into single "unsigned opt" */
/* (can be set directly to the result of getopt32) */
char no_default_options; /* Do not include default optins in request */
-#if ENABLE_FEATURE_UDHCP_PORT
- uint16_t port;
-#endif
+ USE_FEATURE_UDHCP_PORT(uint16_t port;)
int ifindex; /* Index number of the interface to use */
uint8_t opt_mask[256 / 8]; /* Bitmask of options to send (-O option) */
const char *interface; /* The name of the interface to use */