diff options
author | Josh Blum <josh@joshknows.com> | 2010-12-10 18:57:17 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-12-11 18:43:48 -0800 |
commit | 096405b9291d1d3b3ac37d9768232cca43a37db6 (patch) | |
tree | 48d18abe87ffec517a76e2fd3fad3c4f5aa92201 /firmware/microblaze/apps/txrx_uhd.c | |
parent | e53662172430ba055f6b60d74c142995aa24deaf (diff) | |
download | uhd-096405b9291d1d3b3ac37d9768232cca43a37db6.tar.gz uhd-096405b9291d1d3b3ac37d9768232cca43a37db6.tar.bz2 uhd-096405b9291d1d3b3ac37d9768232cca43a37db6.zip |
packet_router: added control register to set the udp control port
Diffstat (limited to 'firmware/microblaze/apps/txrx_uhd.c')
-rw-r--r-- | firmware/microblaze/apps/txrx_uhd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/microblaze/apps/txrx_uhd.c b/firmware/microblaze/apps/txrx_uhd.c index 8ee53ac3e..dc41e56c4 100644 --- a/firmware/microblaze/apps/txrx_uhd.c +++ b/firmware/microblaze/apps/txrx_uhd.c @@ -349,7 +349,7 @@ main(void) //1) register the addresses into the network stack register_addrs(ethernet_mac_addr(), get_ip_addr()); - pkt_ctrl_program_inspector(get_ip_addr(), USRP2_UDP_DATA_PORT); + pkt_ctrl_program_inspector(get_ip_addr(), USRP2_UDP_CTRL_PORT, USRP2_UDP_DATA_PORT); //2) register callbacks for udp ports we service register_udp_listener(USRP2_UDP_CTRL_PORT, handle_udp_ctrl_packet); |