Normalize route destination before checking for MPATH conflicts.
authormpi <mpi@openbsd.org>
Tue, 26 May 2015 12:02:11 +0000 (12:02 +0000)
committermpi <mpi@openbsd.org>
Tue, 26 May 2015 12:02:11 +0000 (12:02 +0000)
commit74f5175a14fe3f0c80a4e4261de9f793c1584808
tree245fc454ad44b63a4b1db963e1b09dba40b7520c
parentd66edcb94fdec88d5424078d0a73e13ff9705877
Normalize route destination before checking for MPATH conflicts.

This makes rt_mpath_conflict() work as expected when adding routes
with the same destination and the same netmask.

With and ok claudio@
sys/net/route.c