mirror of
https://github.com/ipxe/ipxe
synced 2026-04-16 03:00:10 +03:00
[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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user