CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2015/03/18 16:31:22

Modified files:
        sbin/route     : route.c 

Log message:
Instead of embedding interface names in a sockaddr use their indexes
when adding route entries with the -link option.

This prevent the ARP layer to take the name of your interface for an
Ethernet address.  If you still want to add stupid content to your
routing table, please write your own tool.

Thanks to Henk Jan Agteresch for reporting the original issue and
testing this diff.

ok mikeb@, deraadt@, benno@, claudio@

Reply via email to