chiark
/
gitweb
/
~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cleanup: fix up the type of string buffers
[secnet]
/
tun.c
diff --git
a/tun.c
b/tun.c
index cfd5a57ab4e3c33be3dbe64bb1e98c95c84ef3e7..04ac08b8767ff668c46e8243ccf4153cfe5117e0 100644
(file)
--- a/
tun.c
+++ b/
tun.c
@@
-234,7
+234,7
@@
static void tun_phase_hook(void *sst, uint32_t newphase)
{
struct tun *st=sst;
string_t hostaddr,secnetaddr;
-
uint8_t
mtu[6];
+
char
mtu[6];
struct netlink_client *r;
if (st->tun_flavour==TUN_FLAVOUR_BSD) {