Skip to content

Commit eb8d011

Browse files
committed
ipn/yegor: m code comment
1 parent 6fa1ec9 commit eb8d011

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

intra/ipn/proxy.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import (
2929
"github.com/celzero/firestack/intra/settings"
3030
)
3131

32+
// must be kept in sync with rpn's Conf() impls (like in yegor.go)
3233
const anyCountryCode = "**" // random country
3334
const noCountryForOldMen = "" // zz
3435

intra/ipn/rpn/yegor.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,7 @@ func (a *WsClient) Conf(cc string) (string, error) {
891891
cc = cccsv[1]
892892
}
893893
visited := make(map[string]struct{}, 0)
894+
// in sync with anyCountryCode / noCountryForOldMen vars in proxy.go
894895
chooseAny := cc == "**" || len(cc) <= 0
895896
hasCity := len(city) > 0
896897
tot := 0

0 commit comments

Comments
 (0)