Merge pull request #5839 from cgundogan/pr/ccnl_example_docfix

examples: ccn-lite-relay: minor doc fix
This commit is contained in:
Martine Lenders 2016-09-12 13:50:29 +02:00 committed by GitHub
commit d301ae279b

View File

@ -49,8 +49,7 @@ int main(void)
kernel_pid_t ifs[GNRC_NETIF_NUMOF]; kernel_pid_t ifs[GNRC_NETIF_NUMOF];
size_t ifnum = gnrc_netif_get(ifs); size_t ifnum = gnrc_netif_get(ifs);
/* set the relay's PID, configure the interface to interface to use CCN /* set the relay's PID, configure the interface to use CCN nettype */
* nettype */
if ((ifnum <= 0) || (ccnl_open_netif(ifs[0], GNRC_NETTYPE_CCN) < 0)) { if ((ifnum <= 0) || (ccnl_open_netif(ifs[0], GNRC_NETTYPE_CCN) < 0)) {
puts("Error registering at network interface!"); puts("Error registering at network interface!");
return -1; return -1;