Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix an issue in test_phy_port_to_string().

  • Loading branch information...
commit d74cc41b51079e5639def1190cea3500e23c8a02 1 parent b5b043b
@chibacchie chibacchie authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  unittests/lib/utility_test.c
View
2  unittests/lib/utility_test.c
@@ -282,7 +282,7 @@ test_match_to_string_fails_with_insufficient_buffer() {
static void
test_phy_port_to_string() {
char phy_port_str[ 256 ];
- char expected_phy_port_str[] = "port_no = 1, hw_addr = 01:02:03:04:05:06, name = GbE 0/1, config = 0x1, state = 0x1, curr = 0x4a0, advertised = 0x6bf, supported = 0x6bf, peer = 0x6bf";
+ char expected_phy_port_str[] = "port_no = 1, hw_addr = 01:02:03:04:05:06, name = GbE 0/1, config = 0x1, state = 0x1, curr = 0x4a0, advertised = 0x6bf, supported = 0x6bf, peer = 0x6bf";
uint8_t hw_addr[ OFP_ETH_ALEN ] = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 };
uint32_t port_features = ( OFPPF_10MB_HD | OFPPF_10MB_FD | OFPPF_100MB_HD |
OFPPF_100MB_FD | OFPPF_1GB_HD | OFPPF_1GB_FD |
Please sign in to comment.
Something went wrong with that request. Please try again.