Repositories
/
olsrd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b95d09a
)
WTF ???
author
Henning Rogge
<hrogge@googlemail.com>
Sat, 14 Mar 2009 22:41:20 +0000
(23:41 +0100)
committer
Henning Rogge
<hrogge@googlemail.com>
Sat, 14 Mar 2009 22:41:20 +0000
(23:41 +0100)
src/ipcalc.c
patch
|
blob
|
history
diff --git
a/src/ipcalc.c
b/src/ipcalc.c
index
47c79d4
..
d02e510
100644
(file)
--- a/
src/ipcalc.c
+++ b/
src/ipcalc.c
@@
-100,7
+100,6
@@
netmask_to_prefix(const uint8_t *adr, int len)
default:
OLSR_PRINTF(0, "%s: Got bogus netmask %s\n", __func__, ip_to_string(len == 4 ? AF_INET : AF_INET6, &buf, (const union olsr_ip_addr *)adr));
prefix = UCHAR_MAX;
- *(int *)0 = 0;
break;
}
}