projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ovs-appctl: Document the facility "file" option.
[openvswitch]
/
utilities
/
ovs-vlan-bug-workaround.c
diff --git
a/utilities/ovs-vlan-bug-workaround.c
b/utilities/ovs-vlan-bug-workaround.c
index 54316ddc7db17d68d4524b83df6782d4da67ebb4..f459dec4bbe6313604f3fbc4b01b81ef0ff74d97 100644
(file)
--- a/
utilities/ovs-vlan-bug-workaround.c
+++ b/
utilities/ovs-vlan-bug-workaround.c
@@
-23,6
+23,7
@@
#include <net/if.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <stdlib.h>
#include <sys/ioctl.h>
+#include <sys/socket.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
@@
-113,7
+114,7
@@
parse_options(int argc, char *argv[])
static const struct option long_options[] = {
{"help", no_argument, NULL, 'h'},
{"version", no_argument, NULL, 'V'},
static const struct option long_options[] = {
{"help", no_argument, NULL, 'h'},
{"version", no_argument, NULL, 'V'},
- {
0, 0, 0
, 0},
+ {
NULL, 0, NULL
, 0},
};
char *short_options = long_options_to_short_options(long_options);
};
char *short_options = long_options_to_short_options(long_options);
@@
-130,7
+131,7
@@
parse_options(int argc, char *argv[])
break;
case 'V':
break;
case 'V':
-
OVS_PRINT_VERSION
(0, 0);
+
ovs_print_version
(0, 0);
exit(EXIT_SUCCESS);
case '?':
exit(EXIT_SUCCESS);
case '?':