Note what changed in versions 8, 9 and 10

This commit is contained in:
Samuel Thibault 2023-12-03 21:24:54 +01:00
parent 01576b74da
commit 3be9b1657a
2 changed files with 8 additions and 6 deletions

View file

@ -1540,10 +1540,10 @@ struct oldsessionV8 {
struct in6_addr ipv6route; // Static IPv6 route
sessionidt forwardtosession; // LNS id_session to forward
uint8_t src_hwaddr[ETH_ALEN]; // MAC addr source (for pppoe sessions 6 bytes)
uint32_t dhcpv6_prefix_iaid; // prefix iaid requested by client
uint32_t dhcpv6_iana_iaid; // iaid of iana requested by client
struct in6_addr ipv6address; // Framed Ipv6 address
struct dhcp6_opt_clientid dhcpv6_client_id; // Size max (headers + DUID)
uint32_t dhcpv6_prefix_iaid; // NEW: prefix iaid requested by client
uint32_t dhcpv6_iana_iaid; // NEW: iaid of iana requested by client
struct in6_addr ipv6address; // NEW: Framed Ipv6 address
struct dhcp6_opt_clientid dhcpv6_client_id; // NEW: Size max (headers + DUID)
char reserved[4]; // Space to expand structure without changing HB_VERSION
};
@ -1599,13 +1599,15 @@ struct oldsessionV9 {
uint8_t walled_garden; // is this session gardened?
uint8_t classlen; // class (needed for radius accounting messages)
char class[MAXCLASS];
// DROPPED: ipv6prefixlen
// DROPPED: ipv6route
sessionidt forwardtosession; // LNS id_session to forward
uint8_t src_hwaddr[ETH_ALEN]; // MAC addr source (for pppoe sessions 6 bytes)
uint32_t dhcpv6_prefix_iaid; // prefix iaid requested by client
uint32_t dhcpv6_iana_iaid; // iaid of iana requested by client
struct in6_addr ipv6address; // Framed Ipv6 address
struct dhcp6_opt_clientid dhcpv6_client_id; // Size max (headers + DUID)
routet6 route6[MAXROUTE6]; // static IPv6 routes
routet6 route6[MAXROUTE6]; // NEW: static IPv6 routes
char reserved[4]; // Space to expand structure without changing HB_VERSION
};