projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ovs-ofctl: Simplify code by using strcasecmp() instead of strncasecmp().
[openvswitch]
/
vswitchd
/
ovs-brcompatd.c
diff --git
a/vswitchd/ovs-brcompatd.c
b/vswitchd/ovs-brcompatd.c
index 39c110134f12f1ba64d020b28c2c43ade9ba45f2..ecf00b3d21bfd0710993b52b712c7ab0635184f5 100644
(file)
--- a/
vswitchd/ovs-brcompatd.c
+++ b/
vswitchd/ovs-brcompatd.c
@@
-57,7
+57,7
@@
#include "vlog.h"
#include "vswitchd/vswitch-idl.h"
#include "vlog.h"
#include "vswitchd/vswitch-idl.h"
-VLOG_DEFINE_THIS_MODULE(brcompatd)
+VLOG_DEFINE_THIS_MODULE(brcompatd)
;
/* xxx Just hangs if datapath is rmmod/insmod. Learn to reconnect? */
/* xxx Just hangs if datapath is rmmod/insmod. Learn to reconnect? */
@@
-1324,7
+1324,7
@@
main(int argc, char *argv[])
daemonize_complete();
daemonize_complete();
- idl = ovsdb_idl_create(remote, &ovsrec_idl_class);
+ idl = ovsdb_idl_create(remote, &ovsrec_idl_class
, true
);
for (;;) {
const struct ovsrec_open_vswitch *ovs;
for (;;) {
const struct ovsrec_open_vswitch *ovs;
@@
-1413,7
+1413,7
@@
parse_options(int argc, char *argv[])
};
char *short_options = long_options_to_short_options(long_options);
};
char *short_options = long_options_to_short_options(long_options);
- appctl_command = xasprintf("%s/ovs-appctl %%s", ovs_bindir);
+ appctl_command = xasprintf("%s/ovs-appctl %%s", ovs_bindir
()
);
for (;;) {
int c;
for (;;) {
int c;