]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[xfer] Remove address family from definition of a socket opener
authorMichael Brown <mcb30@ipxe.org>
Wed, 15 Jul 2020 17:46:58 +0000 (18:46 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 15 Jul 2020 17:46:58 +0000 (18:46 +0100)
commita95a2eafc58b921431cbd53fc0cbff6a1a7761d1
tree96dc1a59f580045d0d75067c0836700cc2d707ef
parent78ca890c35d6979fe62fa66e16e7501abb831034
[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>
src/core/open.c
src/include/ipxe/open.h
src/net/ping.c
src/net/tcp.c
src/net/udp.c