summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/pdu_remove_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/lib/pdu_remove_impl.cc')
-rw-r--r--gr-blocks/lib/pdu_remove_impl.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-blocks/lib/pdu_remove_impl.cc b/gr-blocks/lib/pdu_remove_impl.cc
index c3a87ed69e..afa853c06b 100644
--- a/gr-blocks/lib/pdu_remove_impl.cc
+++ b/gr-blocks/lib/pdu_remove_impl.cc
@@ -43,9 +43,9 @@ namespace gr {
io_signature::make (0, 0, 0)),
d_k(k)
{
- message_port_register_out(pmt::mp("pdus"));
- message_port_register_in(pmt::mp("pdus"));
- set_msg_handler(pmt::mp("pdus"), boost::bind(&pdu_remove_impl::handle_msg, this, _1));
+ message_port_register_out(pdu::s_pdu_port_id);
+ message_port_register_in(pdu::s_pdu_port_id);
+ set_msg_handler(pdu::s_pdu_port_id, boost::bind(&pdu_remove_impl::handle_msg, this, _1));
}
void
@@ -59,7 +59,7 @@ namespace gr {
throw std::runtime_error("pdu_remove received non PDU input");
}
meta = pmt::dict_delete(meta, d_k);
- message_port_pub(pmt::mp("pdus"), pmt::cons(meta, pmt::cdr(pdu)));
+ message_port_pub(pdu::s_pdu_port_id, pmt::cons(meta, pmt::cdr(pdu)));
}
} /* namespace blocks */