Skip to content

Commit 8622953

Browse files
committed
fix indentation
1 parent 8a97b53 commit 8622953

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

images/egress/router/egress-router.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ function setup_network() {
3131
# The pod may die and get restarted; only try to add the
3232
# address/route/rules if they are not already there.
3333
if ! ip route get "${EGRESS_GATEWAY}" | grep -q macvlan0; then
34-
ip addr add "${EGRESS_SOURCE}"/32 dev macvlan0
35-
ip link set up dev macvlan0
34+
ip addr add "${EGRESS_SOURCE}"/32 dev macvlan0
35+
ip link set up dev macvlan0
3636

37-
ip route add "${EGRESS_GATEWAY}"/32 dev macvlan0
38-
ip route del default
39-
ip route add default via "${EGRESS_GATEWAY}" dev macvlan0
37+
ip route add "${EGRESS_GATEWAY}"/32 dev macvlan0
38+
ip route del default
39+
ip route add default via "${EGRESS_GATEWAY}" dev macvlan0
4040
fi
4141

4242
# Update neighbor ARP caches in case another node previously had the IP. (This is

0 commit comments

Comments
 (0)