Skip to content

Commit

Permalink
fix spelling mistake: TUNNEL
Browse files Browse the repository at this point in the history
  • Loading branch information
you-looks-not-tasty committed Aug 22, 2023
1 parent 7a2196d commit 149584b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/dpvs-agent/pkg/ipc/types/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (e *DpvsFwdMode) String() string {
case DPVS_FWD_MODE_DR:
return "DR"
case DPVS_FWD_MODE_TUNNEL:
return "TUNNLE"
return "TUNNEL"
case DPVS_FWD_MODE_BYPASS:
return "BYPASS"
case DPVS_FWD_MODE_SNAT:
Expand All @@ -115,7 +115,7 @@ func (e *DpvsFwdMode) FromString(name string) {
*e = DPVS_FWD_LOCALNODE
case "DR":
*e = DPVS_FWD_MODE_DR
case "TUNNLE":
case "TUNNEL":
*e = DPVS_FWD_MODE_TUNNEL
case "BYPASS":
*e = DPVS_FWD_MODE_BYPASS
Expand Down

0 comments on commit 149584b

Please sign in to comment.