fix multicast

This commit is contained in:
PolynomialDivision 2017-12-12 22:05:29 +01:00
parent 8653bc3fcc
commit 9a38f82519
2 changed files with 4 additions and 3 deletions

View file

@ -62,7 +62,7 @@ int main(int argc, char **argv) {
char iv[BUFSIZE_DIR];
int multicast = 0;
while ((ch = getopt(argc, argv, "cs:p:i:b:o:h:i:k:v:")) != -1) {
while ((ch = getopt(argc, argv, "cs:p:i:b:o:h:i:k:v:m")) != -1) {
switch (ch) {
case 's':
ubus_socket = optarg;
@ -94,6 +94,7 @@ int main(int argc, char **argv) {
break;
case 'm':
multicast = 1;
break;
default:
break;
}