summaryrefslogtreecommitdiff
path: root/src/conn-tools/s6-tcpserver.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-08-10 00:26:41 +0000
committerLaurent Bercot <ska@appnovation.com>2021-08-10 00:26:41 +0000
commitfb68edd32df2e2d9b4e8eae813ce6c60d82b4204 (patch)
tree325aade56f0bc4578e1c7da190af629da1af242f /src/conn-tools/s6-tcpserver.c
parent260f1feffc8d48f1181929ce12a9f2cb65a2a5cb (diff)
downloads6-networking-fb68edd32df2e2d9b4e8eae813ce6c60d82b4204.tar.xz
Adapt to skalibs-2.11.0.0
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/conn-tools/s6-tcpserver.c')
-rw-r--r--src/conn-tools/s6-tcpserver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conn-tools/s6-tcpserver.c b/src/conn-tools/s6-tcpserver.c
index ed874b6..077b5ad 100644
--- a/src/conn-tools/s6-tcpserver.c
+++ b/src/conn-tools/s6-tcpserver.c
@@ -32,7 +32,7 @@ int main (int argc, char const *const *argv)
unsigned int what = 0 ;
PROG = "s6-tcpserver" ;
{
- subgetopt_t l = SUBGETOPT_ZERO ;
+ subgetopt l = SUBGETOPT_ZERO ;
for (;;)
{
int opt = subgetopt_r(argc, argv, "qQvDd1U46c:C:b:u:g:G:", &l) ;
@@ -63,7 +63,7 @@ int main (int argc, char const *const *argv)
if (!what)
{
- ip46_t ip ;
+ ip46 ip ;
if (!ip46_scan(argv[0], &ip)) dieusage() ;
what = ip46_is6(&ip) ? 6 : 4 ;
}