secure: can only work for IPv4, so assert on it
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 07:43:25 +0000 (09:43 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 08:52:47 +0000 (10:52 +0200)
commite3c6e7cae746fac6dc7dba7bd3dc611b57056fe5
tree5ecd148e547f1675157018635f2cb937a1d76fd3
parent808928830ed65a3d8de80876d00ad78a8cfe540b
secure: can only work for IPv4, so assert on it

Because of:
  memcpy(&rrmsg.destination, to, olsr_cnf->ipsize);
with
  rrmsg.destination being an uint32_t

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/secure/src/olsrd_secure.c