projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ovs-dev.py: allow current directory to be used as the working directory
[cascardo/ovs.git]
/
utilities
/
ovs-vlan-bug-workaround.c
diff --git
a/utilities/ovs-vlan-bug-workaround.c
b/utilities/ovs-vlan-bug-workaround.c
index
9722c27
..
add800e
100644
(file)
--- a/
utilities/ovs-vlan-bug-workaround.c
+++ b/
utilities/ovs-vlan-bug-workaround.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 2011 Nicira
Networks
.
+ * Copyright (c) 2011 Nicira
, Inc
.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-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>
@@
-115,7
+116,7
@@
parse_options(int argc, char *argv[])
{"version", no_argument, NULL, 'V'},
{NULL, 0, NULL, 0},
};
{"version", no_argument, NULL, 'V'},
{NULL, 0, NULL, 0},
};
- char *short_options = long_options_to_short_options(long_options);
+ char *short_options =
ovs_cmdl_
long_options_to_short_options(long_options);
for (;;) {
int option;
for (;;) {
int option;
@@
-137,7
+138,7
@@
parse_options(int argc, char *argv[])
exit(EXIT_FAILURE);
default:
exit(EXIT_FAILURE);
default:
- NOT_REACHED();
+
OVS_
NOT_REACHED();
}
}
free(short_options);
}
}
free(short_options);