Use strrchr() insteaad of rindex().
authorGuus Sliepen <guus@tinc-vpn.org>
Fri, 7 May 2010 10:24:49 +0000 (12:24 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Fri, 7 May 2010 10:24:49 +0000 (12:24 +0200)
commitdbf3d168b720045328d476f3b9e5f5e45b4ab6de
tree68c831c590e7691aad6f1d290019db51f312056b
parenteda71798749e8b0abf5e8b3cbc11da82aa607f00
Use strrchr() insteaad of rindex().

The latter function is deprecated, some build environments do not support.
src/bsd/device.c
src/linux/device.c