chiark / gitweb /
test: udp-preload: Remove now-obsolete `bound'
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 12 Oct 2019 11:32:58 +0000 (12:32 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 12 Oct 2019 22:29:26 +0000 (23:29 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test/udp-preload.c

index 55e4314e2ef19817c2cae2b202e9df4713574388..ec3be09540ad654b0541419f627dfdaab0ae72da 100644 (file)
@@ -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: