secure: can only work for IPv4, so assert on it
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 07:57:06 +0000 (09:57 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 08:52:48 +0000 (10:52 +0200)
commita5c5bd456cd101a3d11f199022d8957e08219466
tree860e0eda294e043e4d6490c6885ed28ba2c522ae
parent1525e4e9cbe49cecd652d1f1de908cbaa67b08aa
secure: can only work for IPv4, so assert on it

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

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