]> git.proxmox.com Git - mirror_frr.git/commit
lib: fix type-punning in ip_masklen()
authorDenis Ovsienko <infrastation@yandex.ru>
Fri, 16 Dec 2011 12:25:02 +0000 (16:25 +0400)
committerDenis Ovsienko <infrastation@yandex.ru>
Mon, 2 Jan 2012 14:36:58 +0000 (18:36 +0400)
commit2654e43ca2eaa8d93268c9ec85ac2dd968e5fb94
treedb36db2373e4cff83f6f7284aa8822ce5083dea6
parentd171bf58ef12ace43d48565e6870722dece1e6ed
lib: fix type-punning in ip_masklen()

ip_masklen() was likely to return incorrect results after being compiled
with -fstrict-aliasing (-O2, -O3, -Os)
lib/prefix.c