diff options
| author | Andrew Cooks <acooks.at.bda@gmail.com> | 2024-05-28 14:07:14 +1000 |
|---|---|---|
| committer | Andrew Cooks <acooks.at.bda@gmail.com> | 2024-05-28 14:07:14 +1000 |
| commit | 0dd99a673344107375378736d7355ccc542b9b70 (patch) | |
| tree | 4a3d1e98da1877d1f323239eaad2cfbed9922ded /lib/if.c | |
| parent | 954f2ac5819cd943d592d6bf42125146e74c6c1c (diff) | |
ospf6d: replace OSPF6_LSA_SIZE with ospf6_lsa_size
Dropping the macro enables better compiler type checking.
The macro was not used consistently when reading the lsa size from the
header, so this change also aims to use the replacement inline function
consistently.
Keeping the inline function has (marginal) utility in that it ensures that
the endian conversion is consistently performed.
Signed-off-by: Andrew Cooks <acooks.at.bda@gmail.com>
Diffstat (limited to 'lib/if.c')
0 files changed, 0 insertions, 0 deletions
