Revision 4ae972e7 clear-proxy-ndp
b/clear-proxy-ndp | ||
---|---|---|
4 | 4 |
|
5 | 5 |
source /etc/default/snf-network |
6 | 6 |
|
7 |
source $CONF |
|
8 |
source $STATE_DIR/infra |
|
9 |
|
|
10 | 7 |
host=$(hostname) |
11 | 8 |
domain=$(hostname -d) |
12 | 9 |
|
... | ... | |
25 | 22 |
case tag in |
26 | 23 |
ip-less-routed) |
27 | 24 |
EUI64=$($MAC2EUI64 $MAC $SUBNET6 2>/dev/null) |
28 |
ip -6 neigh del proxy $EUI64 dev $PUBLIC_VLAN >/dev/null 2>&1 |
|
25 |
uplink=$(ip -6 route list table $LINK | grep "default via" | awk '{print $5}') |
|
26 |
ip -6 neigh del proxy $EUI64 dev $uplink >/dev/null 2>&1 |
|
29 | 27 |
;; |
30 | 28 |
esac |
31 | 29 |
done |
Also available in: Unified diff