derp: remove protocol version 1 support

It hasn't existed for a long time and there are no current users.

Fixes #199
This commit is contained in:
Brad Fitzpatrick
2020-08-17 16:17:56 -07:00
parent 6b80bcf112
commit 93ffc565e5
2 changed files with 2 additions and 8 deletions

View File

@ -614,10 +614,8 @@ func (c *sclient) handleFrameSendPacket(ft frameType, fl uint32) error {
}
p := pkt{
bs: contents,
}
if dst.info.Version >= protocolSrcAddrs {
p.src = c.key
bs: contents,
src: c.key,
}
return c.sendPkt(dst, p)
}