projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vswitch.xml: Fix bond-hash-basis documentation placement.
[openvswitch]
/
tests
/
test-stp.c
diff --git
a/tests/test-stp.c
b/tests/test-stp.c
index eab13d63afdbab1a08d6208f7a3e73459c3de2e7..fecada712787351feb6d848bb43f799df47ce810 100644
(file)
--- a/
tests/test-stp.c
+++ b/
tests/test-stp.c
@@
-14,6
+14,8
@@
* limitations under the License.
*/
* limitations under the License.
*/
+#include <config.h>
+
#include "stp.h"
#include <assert.h>
#include <ctype.h>
#include "stp.h"
#include <assert.h>
#include <ctype.h>
@@
-241,7
+243,7
@@
dump_bridge_tree(struct test_case *tc, struct bridge *b, int level)
}
static void
}
static void
-dump_lan_tree(struct test_case *tc, struct lan *lan, int level)
+dump_lan_tree(struct test_case *tc, struct lan *lan, int level)
{
int i;
{
int i;
@@
-505,7
+507,7
@@
main(int argc, char *argv[])
lan = NULL;
} else if (strlen(token) == 1
&& islower((unsigned char)*token)) {
lan = NULL;
} else if (strlen(token) == 1
&& islower((unsigned char)*token)) {
- lan = tc->lans[*token - 'a'];
+ lan = tc->lans[*token - 'a'];
} else {
err("%s is not a valid LAN name "
"(0 or a lowercase letter)", token);
} else {
err("%s is not a valid LAN name "
"(0 or a lowercase letter)", token);