Skip to content

Commit

Permalink
fix(fcoe): rd.nofcoe=0 should disable fcoe
Browse files Browse the repository at this point in the history
8446c8f Changed the default behavior, but also flipped meaning of 0/1.
Right now rd.nofcoe=0 enables fcoe, which is the opposite what manpage
says.
  • Loading branch information
lnykryn authored and johannbg committed Feb 19, 2021
1 parent d437970 commit 805b46c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules.d/95fcoe/lldpad.sh
@@ -1,6 +1,6 @@
#!/bin/bash

if getargbool 0 rd.nofcoe ; then
if ! getargbool 1 rd.nofcoe ; then
info "rd.nofcoe=0: skipping lldpad activation"
return 0
fi
Expand Down
2 changes: 1 addition & 1 deletion modules.d/95fcoe/parse-fcoe.sh
Expand Up @@ -13,7 +13,7 @@
# fcoe=eth0:nodcb:vn2vn
# fcoe=4a:3f:4c:04:f8:d7:nodcb:fabric

if getargbool 0 rd.nofcoe ; then
if ! getargbool 1 rd.nofcoe ; then
info "rd.nofcoe=0: skipping fcoe"
return 0
fi
Expand Down

0 comments on commit 805b46c

Please sign in to comment.