Skip to content

Commit 65fd114

Browse files
committed
ipn/wg: mark TNT wireguards as non-updatable
1 parent 9caf719 commit 65fd114

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

intra/ipn/wgproxy.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,10 @@ func (w *wgproxy) update(id, txt string) bool {
382382
log.W("proxy: wg: update(%s<>%s): END; status(%s)", id, w.id, status)
383383
return anew
384384
}
385+
if status == TNT {
386+
log.W("proxy: wg: update(%s<>%s): TNT; status(%s) - marking session as un-updatable", id, w.id, status)
387+
return anew
388+
}
385389

386390
incomingPrefersOffload := preferOffload(id)
387391
if incomingPrefersOffload != w.preferOffload {

0 commit comments

Comments
 (0)