summaryrefslogtreecommitdiff
path: root/lib/net.h
diff options
context:
space:
mode:
authorPavel Tvrdík <pawel.tvrdik@gmail.com>2016-01-14 10:03:50 +0100
committerPavel Tvrdík <pawel.tvrdik@gmail.com>2016-01-14 14:31:55 +0100
commitf9d729ab682156cc658eb451b95d7cbd37dfa139 (patch)
tree36a02b1b690fb7f85f3a713aed7f01ca2cca35c5 /lib/net.h
parent9a883adf954c2f68085a398e8ab38bd54831cf52 (diff)
NET ROAx: add max_pxlen, fix format
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;