Skip to content

Commit

Permalink
Sending the IPv6 prefix under the right name when showing an IPTunnel
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnovak committed Nov 7, 2014
1 parent 2cdd089 commit 95cb643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tunnel/IpTunnel_admin.c
Expand Up @@ -168,7 +168,7 @@ static void showConn(struct IpTunnel_Connection* conn,
Bits_memcpyConst(address, conn->connectionIp6, 16);
char* printedAddr = Sockaddr_print(addr, alloc);
Dict_putString(d, String_CONST("ip6Address"), String_CONST(printedAddr), alloc);
Dict_putInt(d, String_CONST("ip6Address"), conn->connectionIp6Prefix, alloc);
Dict_putInt(d, String_CONST("ip6Prefix"), conn->connectionIp6Prefix, alloc);
}

if (!Bits_isZero(conn->connectionIp4, 4)) {
Expand Down

0 comments on commit 95cb643

Please sign in to comment.