commit | f5f64f57d8b885c8070765817020819b57c281a4 | [log] [download] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Sun Nov 11 00:42:55 2007 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Sun Nov 11 16:11:14 2007 +0000 |
tree | b93eb89632d88f346cfcccb0768bbb3080a4b337 | |
parent | 241736ed9e8512ec3018c4e7e234740593ffebe1 [diff] |
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>