summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_route.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2020-03-27 13:39:01 +0100
committerDavid Lamparter <equinox@diac24.net>2020-07-14 11:16:01 +0200
commit858f9c0822bfd1dd9ca105c2f8d4462c3a95f227 (patch)
treef5879a4755868dbca07ba33f6336fd8a5dcd5391 /ospf6d/ospf6_route.h
parentbd0ab4d80aa026d065b93bc066a5b2e88a14970a (diff)
ospf6d: use in_addr_t for area/router IDs
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'ospf6d/ospf6_route.h')
-rw-r--r--ospf6d/ospf6_route.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ospf6d/ospf6_route.h b/ospf6d/ospf6_route.h
index 13b01a3487..95ba983e6b 100644
--- a/ospf6d/ospf6_route.h
+++ b/ospf6d/ospf6_route.h
@@ -64,8 +64,8 @@ struct ospf6_nexthop {
/* Path */
struct ospf6_ls_origin {
uint16_t type;
- uint32_t id;
- uint32_t adv_router;
+ in_addr_t id;
+ in_addr_t adv_router;
};
struct ospf6_path {
@@ -82,7 +82,7 @@ struct ospf6_path {
uint8_t prefix_options;
/* Associated Area */
- uint32_t area_id;
+ in_addr_t area_id;
/* Path-type */
uint8_t type;