Always reallocate a new memory chunk when changing the gateway of a
authormpi <mpi@openbsd.org>
Thu, 22 Feb 2018 08:47:20 +0000 (08:47 +0000)
committermpi <mpi@openbsd.org>
Thu, 22 Feb 2018 08:47:20 +0000 (08:47 +0000)
commitefc0dde8eba75c711e7d2532d539e9c28e772f13
tree27f3d5578ea6667090784b69684d3a5060fa9416
parentc6cfdbbf71d55415745e32372213205fbca14ab0
Always reallocate a new memory chunk when changing the gateway of a
route entry.

This makes sure we pass the correct size to free(9).

Reproted by and ok dlg@
sys/net/route.c