From: Ian Jackson Date: Sat, 12 Oct 2019 11:32:58 +0000 (+0100) Subject: test: udp-preload: Remove now-obsolete `bound' X-Git-Tag: v0.5.0~113 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=secnet.git;a=commitdiff_plain;h=af0904876cc6e2594ff855f391e01722d46e55b2;hp=e01a769c8f661bd5014b0445bf8974f71fcce46b test: udp-preload: Remove now-obsolete `bound' Signed-off-by: Ian Jackson --- diff --git a/test/udp-preload.c b/test/udp-preload.c index 55e4314..ec3be09 100644 --- a/test/udp-preload.c +++ b/test/udp-preload.c @@ -80,10 +80,6 @@ WRAPS(DEF_OLD) typedef struct{ int af; - union { - struct sockaddr_in v4; - struct sockaddr_in6 v6; - } bound; } fdinfo; static fdinfo **table; static int tablesz; @@ -136,7 +132,6 @@ WRAP(socket) { table[fd]=malloc(sizeof(*table[fd])); if (!table[fd]) goto fail; table[fd]->af=domain; - table[fd]->bound.v4.sin_family=0; return fd; fail: