]> 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 13:10:55 +0000 (17:10 +0400)
commitce77002e908e8c9eeff780a6a34143af6758a17f
tree76fed1f3dd8861625469f1ec9bba7c00e0cac894
parente1fabbb86c2558b336b83de443a4fde4b2a8db90
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