summaryrefslogtreecommitdiff
path: root/proto/ospf/hello.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf/hello.c')
-rw-r--r--proto/ospf/hello.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/hello.c b/proto/ospf/hello.c
index 376eac3c..50cd8609 100644
--- a/proto/ospf/hello.c
+++ b/proto/ospf/hello.c
@@ -275,7 +275,7 @@ ospf_receive_hello(struct ospf_packet *pkt, struct ospf_iface *ifa,
/* Check consistency of existing neighbor entry */
if (n)
{
- unsigned t = ifa->type;
+ uint t = ifa->type;
if (ospf_is_v2(p) && ((t == OSPF_IT_BCAST) || (t == OSPF_IT_NBMA) || (t == OSPF_IT_PTMP)))
{
/* Neighbor identified by IP address; Router ID may change */