chiark
/
gitweb
/
~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
integer arithmetic types: do not use unsigned for lengths
[secnet]
/
tun.c
diff --git
a/tun.c
b/tun.c
index 04ac08b8767ff668c46e8243ccf4153cfe5117e0..80606232d76de4eddff92b15e1c4c7b05f3cdfbf 100644
(file)
--- a/
tun.c
+++ b/
tun.c
@@
-149,7
+149,7
@@
static bool_t tun_set_route(void *sst, struct netlink_client *routes)
struct tun *st=sst;
string_t network, mask, secnetaddr;
struct subnet_list *nets;
-
u
int32_t i;
+ int32_t i;
int fd=-1;
if (routes->up == routes->kup) return False;