diff --git a/rest.cpp b/rest.cpp
index 5f4e79d774d78944998c9918d7fa925baeb72fac..d1d2efb2ed0752d9c71c50c33f53b4e30ea590e0 100644
--- a/rest.cpp
+++ b/rest.cpp
@@ -84,8 +84,8 @@ void restart() {
 
 
 enum {
-	ON,
 	OFF,
+	ON,
 	NONE,
 };
 
@@ -103,8 +103,7 @@ void sendSNMP() {
 		}
 	}
 
-	auto ipAddr = IPAddress(10, 42, 0 ,1);
-	if (output != NONE) {
+	auto ipAddr = IPAddress(192,168,140,79);
 		SNMP::Message *snmp_msg = mpod.output(output);
 		snmp.send(snmp_msg, ipAddr, SNMP::PORT::SNMP);
 		delete snmp_msg;
@@ -125,7 +124,7 @@ void pollMPODChannel() {
 
 	String http_msg = "{\n";
 	http_msg += ret;
-	http_msg += "\"success\": 1";
+	http_msg += ",\"success\": 1";
 	http_msg += "\n}";
 
 	restServer.send(200, "text/json", http_msg);