Be more consisten with rtmsgs. Always set rtm_index (even in the RTM_GET
authorclaudio <claudio@openbsd.org>
Sun, 25 Oct 2015 14:41:09 +0000 (14:41 +0000)
committerclaudio <claudio@openbsd.org>
Sun, 25 Oct 2015 14:41:09 +0000 (14:41 +0000)
commit0d6b595aa4c97d99f6806ed8c338873f11f83bb8
tree044c2d856155c9bb54f50952d26a48370c81d036
parent769cd4563e73284f7ec6b5835cd499e2dd447d13
Be more consisten with rtmsgs. Always set rtm_index (even in the RTM_GET
case) and always set rtm_pid to the pid of the requestor (even in the
sysctl code path).
OK mpi@
sys/net/rtsock.c