chiark / gitweb /
svc/tripe-ifup.in: Trim prefix length from IPv6 address used as gateway.
[tripe] / server / tun-slip.c
index c945998df2229eaac222634b6984b4637dd45cb1..85e9cd84da4ef6ab407579343d5bda7d41781505 100644 (file)
@@ -290,7 +290,7 @@ static tunnel *t_create(peer *p, int fd, char **ifn)
   dstr d = DSTR_INIT;
   unsigned char ch;
   tunnel *t;
-  static const char end[] = { SL_END, SL_END };
+  static const octet end[] = { SL_END, SL_END };
 
   /* --- Try to find a spare static interface --- */