chiark / gitweb /
socket: fix parsing of bind_ipv6_only
[elogind.git] / src / socket.h
index 43d28d7e04d3a207873c41ece3c33977e410deaf..5aa5f2783c0dd0dd9c3580abb2aa67bff1b7bce3 100644 (file)
@@ -70,7 +70,6 @@ struct SocketPort {
 
         SocketAddress address;
         char *path;
-
         Watch fd_watch;
 
         LIST_FIELDS(SocketPort, port);
@@ -82,7 +81,7 @@ struct Socket {
         LIST_HEAD(SocketPort, ports);
 
         /* Only for INET6 sockets: issue IPV6_V6ONLY sockopt */
-        bool bind_ipv6_only;
+        SocketAddressBindIPv6Only bind_ipv6_only;
         unsigned backlog;
 
         usec_t timeout_usec;