diff --git a/src/host/p25/packet/Data.cpp b/src/host/p25/packet/Data.cpp index 1ffb843d..eaa58f03 100644 --- a/src/host/p25/packet/Data.cpp +++ b/src/host/p25/packet/Data.cpp @@ -1156,7 +1156,7 @@ bool Data::processSNDCPControl() { std::unique_ptr osp = std::make_unique(); osp->setNSAPI(packet->getNSAPI()); - osp->setRejectCode(SNDCPRejectReason::DYN_IP_ALLOCATION_UNSUPPORTED); + osp->setRejectCode(SNDCPRejectReason::STATIC_IP_ALLOCATION_UNSUPPORTED); osp->encode(data); writeRF_PDU_User(rspHeader, rspHeader, false, data); @@ -1171,7 +1171,7 @@ bool Data::processSNDCPControl() { std::unique_ptr osp = std::make_unique(); osp->setNSAPI(packet->getNSAPI()); - osp->setRejectCode(SNDCPRejectReason::STATIC_IP_ALLOCATION_UNSUPPORTED); + osp->setRejectCode(SNDCPRejectReason::DYN_IP_ALLOCATION_UNSUPPORTED); osp->encode(data); writeRF_PDU_User(rspHeader, rspHeader, false, data);