bugfix: array too short for data

6 numbers (2 hexa digits each) separated by ':'
plus ending 0 makes 18 bytes, not 6, let's put 20
This commit is contained in:
Cedric Roux
2017-03-24 13:02:52 +01:00
parent e5c5185eda
commit e9d88a101d
+1 -1
View File
@@ -65,7 +65,7 @@
/* local IP/MAC address is detected*/
char rrh_ip[20] = "0.0.0.0";
unsigned char rrh_mac[6] = "0:0:0:0:0:0";
unsigned char rrh_mac[20] = "0:0:0:0:0:0";
int rrh_port = 50000; // has to be an option
/* log */