From 403bd15171f2fe4c6937451f39c75f73624d3542 Mon Sep 17 00:00:00 2001 From: "remi.pauchet" Date: Mon, 2 Sep 2019 16:53:20 +0200 Subject: [PATCH] First packet is send with DSCP 0, fix to use the same DSCP than next packets. --- conn.go | 1 + 1 file changed, 1 insertion(+) diff --git a/conn.go b/conn.go index ec27a14..2444342 100644 --- a/conn.go +++ b/conn.go @@ -227,6 +227,7 @@ func (c *cconn) open(ctx context.Context) (err error) { } sp.setPayload(params.bytes()) sp.updateHMAC() + sp.dscp = c.cfg.DSCP var received bool for _, to := range c.cfg.OpenTimeouts { err = c.send(sp)