基礎
lua_pushnumber (L, 1);
lua_pushnumber (L,3);
lua_pushnumber (L,4);
return 3;
c_sprintf(temp, "%d.%d.%d.%d", IP2STR(&pTempIp.ip) );
lua_pushstring( L, temp );
c_sprintf(temp, "%d.%d.%d.%d", IP2STR(&pTempIp.netmask) );
lua_pushstring( L, temp );
c_sprintf(temp, "%d.%d.%d.%d", IP2STR(&pTempIp.gw) );
lua_pushstring( L, temp );
return 3;
添加的測試程序

編譯下載固件,(請自行編譯Lua版本固件)
測試

為以后做更為實用的功能做鋪墊
