Diff between 2517c3cb65e460efccd66175eae80c45beb153b6 and f8eecdc8f7a82de43aec65d87d6a4de1f337eac0

Changed Files

File Additions Deletions Status
monitor/control.c +10 -0 modified

Full Patch

diff --git a/monitor/control.c b/monitor/control.c
index c4568d8..f00fe58 100644
--- a/monitor/control.c
+++ b/monitor/control.c
@@ -70,6 +70,13 @@ static void free_data(void *user_data)
 	free(data);
 }
 
+static void mgmt_unconf_index_added(uint16_t len, const void *buf)
+{
+	printf("@ Unconfigured Index Added\n");
+
+	packet_hexdump(buf, len);
+}
+
 static void mgmt_index_added(uint16_t len, const void *buf)
 {
 	printf("@ Index Added\n");
@@ -688,6 +695,9 @@ void control_message(uint16_t opcode, const void *data, uint16_t size)
 	case MGMT_EV_NEW_CONN_PARAM:
 		mgmt_new_conn_param(size, data);
 		break;
+	case MGMT_EV_UNCONF_INDEX_ADDED:
+		mgmt_unconf_index_added(size, data);
+		break;
 	default:
 		printf("* Unknown control (code %d len %d)\n", opcode, size);
 		packet_hexdump(data, size);