diff options
author | Michael Brown <mcb30@ipxe.org> | 2020-07-15 18:46:58 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2020-07-15 18:46:58 +0100 |
commit | a95a2eafc58b921431cbd53fc0cbff6a1a7761d1 (patch) | |
tree | 96dc1a59f580045d0d75067c0836700cc2d707ef /src/include/ipxe/open.h | |
parent | 78ca890c35d6979fe62fa66e16e7501abb831034 (diff) | |
download | ipxe-a95a2eafc58b921431cbd53fc0cbff6a1a7761d1.tar.gz |
[xfer] Remove address family from definition of a socket opener
All implemented socket openers provide definitions for both IPv4 and
IPv6 using exactly the same opener method. Simplify the logic by
omitting the address family from the definition.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/open.h')
-rw-r--r-- | src/include/ipxe/open.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/ipxe/open.h b/src/include/ipxe/open.h index 43d4cdc66..64e12d177 100644 --- a/src/include/ipxe/open.h +++ b/src/include/ipxe/open.h @@ -70,8 +70,6 @@ struct uri_opener { struct socket_opener { /** Communication semantics (e.g. SOCK_STREAM) */ int semantics; - /** Address family (e.g. AF_INET) */ - int family; /** Open socket * * @v intf Object interface |