diff --git a/acceptfunc.go b/acceptfunc.go index 3f3a45d1..53c1739f 100644 --- a/acceptfunc.go +++ b/acceptfunc.go @@ -24,7 +24,7 @@ const ( MsgIgnore // Ignore the error and send nothing back. ) -var defaultMsgAcceptFunc = func(dh Header) MsgAcceptAction { +func defaultMsgAcceptFunc(dh Header) MsgAcceptAction { if isResponse := dh.Bits&_QR != 0; isResponse { return MsgIgnore }