Skip to content

Commit 2030610

Browse files
committed
settings: rmv unused panicatrandom
1 parent 5e834fc commit 2030610

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

intra/settings/config.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@ var SetUserAgent = atomic.Bool{}
7070
const AndroidCcUa = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.32 Safari/537.36"
7171
const IntraUa = "Intra"
7272

73-
// PanicAtRandom is a global flag to panic the network engine
74-
// every once in a while (for testing).
75-
var PanicAtRandom = atomic.Bool{}
76-
7773
// OwnTunFd is a global flag to indicate that the TUN fd is fully owned by netstack.
7874
// that is, he TUN FD won't be dup'd and will be closed after use.
7975
var OwnTunFd = atomic.Bool{}

0 commit comments

Comments
 (0)