Skip to content

Commit

Permalink
That wasn't working at all
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarlslund committed Sep 16, 2022
1 parent 3defec2 commit 3405774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func StringScrambler(s string) string {

func ExtractNetbiosFromBase(dn string) string {
elements := strings.Split(dn, ",")
netbios, _, _ := strings.Cut(elements[0], "=")
_, netbios, _ := strings.Cut(elements[0], "=")
return netbios
}

Expand Down

0 comments on commit 3405774

Please sign in to comment.