summaryrefslogtreecommitdiff
path: root/lib/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net.h')
-rw-r--r--lib/net.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/net.h b/lib/net.h
index dbcf4253..dd6e597a 100644
--- a/lib/net.h
+++ b/lib/net.h
@@ -64,7 +64,7 @@ typedef struct net_addr_roa4 {
u8 pxlen;
u16 length;
ip4_addr prefix;
- u8 max_pxlen;
+ u32 max_pxlen;
u32 asn;
} net_addr_roa4;
@@ -73,7 +73,7 @@ typedef struct net_addr_roa6 {
u8 pxlen;
u16 length;
ip6_addr prefix;
- u8 max_pxlen;
+ u32 max_pxlen;
u32 asn;
} net_addr_roa6;