Library for httpserver
Fork of httpServer_with_Ethernt by
Diff: Handler/FsHandler.cpp
- Revision:
- 4:2903435e3811
- Parent:
- 2:dd293a10a772
- Child:
- 5:62b15cc96f1b
--- a/Handler/FsHandler.cpp Mon Nov 16 23:55:29 2015 +0000 +++ b/Handler/FsHandler.cpp Fri Feb 12 07:39:47 2016 +0000 @@ -72,8 +72,8 @@ if( std::string::npos != msg.uri.find("get_netinfo.cgi") ) { char buf[256]; - - sprintf(buf, "NetinfoCallback({\"mac\":\"%s\",\"ip\":\"%s\",\"sn\":\"%s\",\"gw\":\"%s\"});" + + sprintf(buf, "NetinfoCallback({\"mac\":\"%s\",\"ip\":\"%s\",\"sn\":\"%s\",\"gw\":\"%s\",\"temp\":\"%s\"});" ,m_eth_list[0]->getMACAddress(),m_eth_list[0]->getIPAddress(),m_eth_list[0]->getNetworkMask(),m_eth_list[0]->getGateway()); tcp.send(buf, strlen(buf));