scripts/vps-functions.in: Send arp requests only where appropriate

Convert to pure Bourne shell script syntax.
vz_get_local_dev: New function, finds interface for given IP
if it is local for one of $NETDEVICES.
vzarp, vzarpipdetect, vzarpipset: Use vz_get_local_dev to limit
sending arp requests only to appropriate interfaces.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
1 file changed