nat: Allow to send MGCP messages from the BSC to the network
diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c
index 217c4f4..c3b86c0 100644
--- a/openbsc/tests/bsc-nat/bsc_nat_test.c
+++ b/openbsc/tests/bsc-nat/bsc_nat_test.c
@@ -89,6 +89,12 @@
0x05, 0x01, 0x02, 0x03, 0x00, 0x00, 0x03
};
+/* MGCP wrap... */
+static const u_int8_t mgcp_msg[] = {
+ 0x00, 0x03, 0xfc,
+ 0x20, 0x20, 0x20,
+};
+
struct filter_result {
const u_int8_t *data;
const u_int16_t length;
@@ -145,6 +151,12 @@
.dir = DIR_BSC,
.result = 0,
},
+ {
+ .data = mgcp_msg,
+ .length = ARRAY_SIZE(mgcp_msg),
+ .dir = DIR_MSC,
+ .result = 0,
+ },
};
static void test_filter(void)