diff options
Diffstat (limited to 'nexgb/auth.go')
-rw-r--r-- | nexgb/auth.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nexgb/auth.go b/nexgb/auth.go index 62a9b35..ec51d10 100644 --- a/nexgb/auth.go +++ b/nexgb/auth.go @@ -76,7 +76,8 @@ func readAuthority(hostname, display string) ( return "", nil, err } - addrmatch := (family == familyWild) || (family == familyLocal && addr == hostname) + addrmatch := (family == familyWild) || + (family == familyLocal && addr == hostname) dispmatch := (disp == "") || (disp == display) if addrmatch && dispmatch { |