Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
spiritLHLS authored May 5, 2024
1 parent 2735118 commit 06c1390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func main() {
// my changes start
if NatMappingBehavior != "" && NatFilteringBehavior != "" {
if NatMappingBehavior == "inconclusive" || NatFilteringBehavior == "inconclusive" {
fmt.Println("NAT Type: inconclusive")
fmt.Println("NAT Type: Inconclusive")
} else if NatMappingBehavior == "endpoint independent" && NatFilteringBehavior == "endpoint independent" {
fmt.Println("NAT Type: Full Cone")
} else if NatMappingBehavior == "endpoint independent" && NatFilteringBehavior == "address dependent" {
Expand All @@ -98,7 +98,7 @@ func main() {
fmt.Printf("NAT Type: %v[NatMappingBehavior] %v[NatFilteringBehavior]\n", NatMappingBehavior, NatFilteringBehavior)
}
} else {
fmt.Println("NAT Type: inconclusive")
fmt.Println("NAT Type: Inconclusive")
}
// my changes end
}
Expand Down

0 comments on commit 06c1390

Please sign in to comment.