Adding TCPKeepAlive to makeDataOpt (#1272)
This commit is contained in:
parent
ce48a4b9ef
commit
595ee5aa98
|
@ -462,6 +462,8 @@ func makeDataOpt(code uint16) EDNS0 {
|
||||||
return new(EDNS0_PADDING)
|
return new(EDNS0_PADDING)
|
||||||
case EDNS0EDE:
|
case EDNS0EDE:
|
||||||
return new(EDNS0_EDE)
|
return new(EDNS0_EDE)
|
||||||
|
case EDNS0TCPKEEPALIVE:
|
||||||
|
return new(EDNS0_TCP_KEEPALIVE)
|
||||||
default:
|
default:
|
||||||
e := new(EDNS0_LOCAL)
|
e := new(EDNS0_LOCAL)
|
||||||
e.Code = code
|
e.Code = code
|
||||||
|
|
Loading…
Reference in New Issue