Module Name: src Committed By: ozaki-r Date: Mon Jun 26 03:13:40 UTC 2017
Modified Files: src/sys/net: rtsock.c src/tests/net/arp: t_arp.sh src/tests/net/ndp: t_ndp.sh src/usr.sbin/arp: arp.c src/usr.sbin/ndp: ndp.c Log Message: Fix usage of routing messages on arp -d and ndp -d It didn't work as we expected; we should set RTA_GATEWAY not RTA_IFP on RTM_GET to return an if_index and the kernel should use it on RTM_DELETE. To generate a diff of this commit: cvs rdiff -u -r1.219 -r1.220 src/sys/net/rtsock.c cvs rdiff -u -r1.27 -r1.28 src/tests/net/arp/t_arp.sh cvs rdiff -u -r1.24 -r1.25 src/tests/net/ndp/t_ndp.sh cvs rdiff -u -r1.56 -r1.57 src/usr.sbin/arp/arp.c cvs rdiff -u -r1.48 -r1.49 src/usr.sbin/ndp/ndp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.