Merge pull request #5839 from cgundogan/pr/ccnl_example_docfix
examples: ccn-lite-relay: minor doc fix
This commit is contained in:
commit
d301ae279b
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user