commit | 0de0138a9146074f268245193e45c9376d998722 | [log] [tgz] |
---|---|---|
author | David Lamparter <equinox@opensourcerouting.org> | Tue Mar 03 10:30:27 2015 +0100 |
committer | David Lamparter <equinox@opensourcerouting.org> | Tue Apr 21 10:18:55 2015 +0200 |
tree | fbf4305e4c7ebdb7ee05b69a71c443b0f5865e4f | |
parent | 33b9663a89b5ec319986de0673764d2a18ec8725 [diff] |
ospf6d: use existing union, avoid strict-aliasing There are preexisting fields u.lp.id and u.lp.adv_router in struct prefix that do the same thing as these type-punning pointer derefs. Use these and shut up the strict-aliasing warnings. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>