Skip to content

Commit

Permalink
Fixed logic
Browse files Browse the repository at this point in the history
  • Loading branch information
fdurand committed Jan 3, 2025
1 parent 2c0a710 commit 8912874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/detectparser/fortigate_dhcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (s *FortiGateDhcpParser) Parse(line string) ([]ApiCall, error) {
},
},
}
if hostname != "N/A" || hostname != "" {
if hostname != "N/A" && hostname != "" {
apiCall = append(apiCall, &PfqueueApiCall{
Method: "modify_node",
Params: []interface{}{
Expand Down

0 comments on commit 8912874

Please sign in to comment.