commit | 6884f665bd7bc101f56ff9047afaffbc06dc99e2 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Fri Nov 23 00:08:54 2007 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Fri Nov 23 00:08:54 2007 +0000 |
tree | 9eb497068cdee02c112c2f55bd0def8ae6354e92 | |
parent | 68af8e7a084317191effa9b257483a50d994b11c [diff] [blame] |
dhcp: stop using magic constants; use (htonl(CONST) != a) - it's smaller function old new delta udhcp_get_packet 146 134 -12 get_raw_packet 368 353 -15
diff --git a/networking/udhcp/options.h b/networking/udhcp/options.h index 5e9adf8..33a968c 100644 --- a/networking/udhcp/options.h +++ b/networking/udhcp/options.h
@@ -6,7 +6,7 @@ #define TYPE_MASK 0x0F enum { - OPTION_IP=1, + OPTION_IP = 1, OPTION_IP_PAIR, OPTION_STRING, #if ENABLE_FEATURE_RFC3397