diff mgw/ctrl_prot.c @ 34:7dae2bae56a1

themwi-mgw: implement MDCX parameter validation
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 Jul 2022 23:17:15 -0800
parents b3f74df7b808
children 020ba624bdd8
line wrap: on
line diff
--- a/mgw/ctrl_prot.c	Sat Jul 09 22:52:44 2022 -0800
+++ b/mgw/ctrl_prot.c	Sat Jul 09 23:17:15 2022 -0800
@@ -59,7 +59,7 @@
 		process_dlcx(conn, &req, &resp);
 		break;
 	default:
-		resp.res = TMGW_RESP_ERR_PROT;
+		resp.res = TMGW_RESP_ERR_OPCODE;
 	}
 	send(fd, &resp, sizeof resp, 0);
 }