projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add DHCP server to the Webserver demo for automatic network configuration. Correct...
[pub/USBasp.git]
/
Projects
/
Webserver
/
Lib
/
uip
/
conf
/
uip-conf.h
diff --git
a/Projects/Webserver/Lib/uip/conf/uip-conf.h
b/Projects/Webserver/Lib/uip/conf/uip-conf.h
index
d3d9bc4
..
e89e7c4
100644
(file)
--- a/
Projects/Webserver/Lib/uip/conf/uip-conf.h
+++ b/
Projects/Webserver/Lib/uip/conf/uip-conf.h
@@
-79,7
+79,11
@@
typedef unsigned short uip_stats_t;
*
\r
* \hideinitializer
\r
*/
\r
-#define UIP_CONF_UDP 0
\r
+#if defined(ENABLE_DHCP)
\r
+ #define UIP_CONF_UDP 1
\r
+#else
\r
+ #define UIP_CONF_UDP 0
\r
+#endif
\r
\r
/**
\r
* UDP checksums on or off
\r