httpd: Use newly created LWIP_VERSION_STRING

This commit is contained in:
Dirk Ziegelmeier
2016-05-04 10:24:12 +02:00
parent 05961a27cf
commit 4a6c444a17
3 changed files with 3 additions and 1 deletions

View File

@@ -87,7 +87,7 @@
/** This string is passed in the HTTP header as "Server: " */
#ifndef HTTPD_SERVER_AGENT
#define HTTPD_SERVER_AGENT "lwIP/1.3.1 (http://savannah.nongnu.org/projects/lwip)"
#define HTTPD_SERVER_AGENT "lwIP/"LWIP_VERSION_STRING" (http://savannah.nongnu.org/projects/lwip)"
#endif
/** Set this to 1 if you want to include code that creates HTTP headers