work-in-progress adding nodeinfo

This commit is contained in:
Arceliar 2021-05-16 13:52:52 -05:00
parent 2c7b22db92
commit 2e45e970c6
4 changed files with 211 additions and 9 deletions

View file

@ -74,6 +74,9 @@ func (tun *TunAdapter) write() {
switch bs[0] {
case typeSessionTraffic:
// This is what we want to handle here
if !tun.isEnabled {
continue // Drop traffic if the tun is disabled
}
default:
continue
}