summaryrefslogtreecommitdiff
path: root/lib/ip.h
diff options
context:
space:
mode:
authorPavel TvrdĂ­k <pawel.tvrdik@gmail.cz>2015-05-19 08:53:34 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2015-06-08 02:24:08 +0200
commitae80a2de95d3d3c153ce20b90c9d8757d02cb33d (patch)
treebe0c9427556557ff5b06b0250bc64ff33062199e /lib/ip.h
parente348ef01b433e06888310c1098a05291034a856c (diff)
unsigned [int] -> uint
Diffstat (limited to 'lib/ip.h')
-rw-r--r--lib/ip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ip.h b/lib/ip.h
index 45e073d9..90bb7f8a 100644
--- a/lib/ip.h
+++ b/lib/ip.h
@@ -471,11 +471,11 @@ int ip6_pton(char *a, ip6_addr *o);
#define ipa_in_net(x,n,p) (ipa_zero(ipa_and(ipa_xor((n),(x)),ipa_mkmask(p))))
#define net_in_net(n1,l1,n2,l2) (((l1) >= (l2)) && (ipa_zero(ipa_and(ipa_xor((n1),(n2)),ipa_mkmask(l2)))))
-char *ip_scope_text(unsigned);
+char *ip_scope_text(uint);
struct prefix {
ip_addr addr;
- unsigned int len;
+ uint len;
};