Skip to content

Commit

Permalink
Hot fix to get etho into a bridge
Browse files Browse the repository at this point in the history
Jira-Id: SCDI-43

Signed-off-by: Mika Joenpera <[email protected]>
  • Loading branch information
joenpera committed Nov 2, 2023
1 parent 5353cf4 commit f58b14f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/scripts/mesh-11s_nats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ add_network_intf_to_bridge() {
_bridge_name=$1
_interfaces=$2

# detect devices where managed switch is available
_lan1=0
if [[ "$_interfaces" == *"lan1"* ]]; then
if ip link show lan1 &> /dev/null; then
_lan1=1
fi
# Loop through the interface names and add them to the bridge if available
Expand Down

0 comments on commit f58b14f

Please sign in to comment.