]> git.ipfire.org Git - thirdparty/openvpn.git/commit
IPv6 MADDR LOG: Wrap IPv6 addresses in square brackets and print port when the port...
authorMarco Baffo <marco@mandelbit.com>
Fri, 17 Jan 2025 11:04:22 +0000 (12:04 +0100)
committerGert Doering <gert@greenie.muc.de>
Fri, 17 Jan 2025 11:17:52 +0000 (12:17 +0100)
commit5cea4bc75e1b87ec7225a89b7cf5cadb85e77e8a
treeb9e581ff27dc9a1358a15719445a1bcfca7098e1
parent6d91eda5a120a4a18273d82fed6777b3efcce8cc
IPv6 MADDR LOG: Wrap IPv6 addresses in square brackets and print port when the port is specified

  Updated the mroute_addr_print_ex() function to wrap IPv6 addresses in square
  brackets and printing the port when the port is specified, e.g., [2001:db8::1]:8080 .
  When the port is not specified the IPv6 address formatting remain the same, e.g., 2001:db8::1 .

Change-Id: Ia58cff107d14e29e51df0a988e8337cbb70ebfbb
Signed-off-by: Marco Baffo <marco@mandelbit.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20250117110422.921-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg30480.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/mroute.c