warning about 2 junk sizes not implemented

Signed-off-by: Mark Puha <marko10@inf.elte.hu>
This commit is contained in:
Mark Puha 2023-09-03 13:45:10 +02:00
parent 84cb7b4b61
commit 999cc3212d

View file

@ -50,6 +50,12 @@ func init() {
MaxSegmentSize,
)
}
if UnderLoadPacketJunkSize != 0 || TransportPacketJunkSize != 0 {
log.Fatal(
`UnderLoadPacketJunkSize and TransportPacketJunkSize;
are currently unimplemented and should be left 0`,
)
}
} else {
if InitPacketJunkSize != 0 ||
ResponsePacketJunkSize != 0 ||