created IPv6 environment
This commit is contained in:
@@ -157,13 +157,13 @@ set_whack_end(whack_end_t *w, starter_end_t *end)
|
||||
w->host_addr = end->addr;
|
||||
w->host_nexthop = end->nexthop;
|
||||
w->host_srcip = end->srcip;
|
||||
|
||||
if (end->has_client)
|
||||
w->client = end->subnet;
|
||||
else
|
||||
w->client.addr.u.v4.sin_family = AF_INET;
|
||||
|
||||
w->has_client = end->has_client;
|
||||
|
||||
if (w->has_client)
|
||||
w->client = end->subnet;
|
||||
else
|
||||
w->client.addr.u.v4.sin_family = addrtypeof(&w->host_addr);
|
||||
|
||||
w->has_client_wildcard = end->has_client_wildcard;
|
||||
w->has_port_wildcard = end->has_port_wildcard;
|
||||
w->has_srcip = end->has_srcip;
|
||||
|
||||
Reference in New Issue
Block a user