mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-29 08:21:18 +01:00
shell ccnl: PRNG should be initialized only once
Initialization of PRNG is taken care of by CCN-Lite.
This commit is contained in:
parent
693d438068
commit
a3bd67da2b
@ -159,9 +159,6 @@ int _ccnl_interest(int argc, char **argv)
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* XXX: https://xkcd.com/221/ */
|
||||
genrand_init(0x4);
|
||||
|
||||
/* initialize address with 0xFF for broadcast */
|
||||
size_t addr_len = MAX_ADDR_LEN;
|
||||
uint8_t relay_addr[MAX_ADDR_LEN];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user