From 8dfa48d0b5b64ab8bbc78aabfea8252db38215c5 Mon Sep 17 00:00:00 2001 From: xuyinghao Date: Tue, 16 Aug 2022 19:36:03 +0800 Subject: [PATCH 03/13] sockettest: Check for IPv4-in-IPv6 parsing and formatting There are two standards how IPv4 address in IPv6 can be expressed: ::10.1.2.3 ::ffff:10.1.2.3 The former is obsolete and the latter should be used instead [1]. Add test cases to our sockettest to exercise parsing/formatting of the valid address format. Signed-off-by: Michal Privoznik Reviewed-by: Ján Tomko