Fix panic
This commit is contained in:
parent
c7e8a2aeb9
commit
11795071fb
@ -116,6 +116,10 @@ func (t *tun) process() {
|
||||
Body: msg.data.Body,
|
||||
}
|
||||
|
||||
if nmsg.Header == nil {
|
||||
nmsg.Header = make(map[string]string)
|
||||
}
|
||||
|
||||
// set the tunnel id on the outgoing message
|
||||
nmsg.Header["Micro-Tunnel-Id"] = msg.id
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user