Repositories
/
olsrd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
87d4b1b
)
mdns: fix uninitialised pointer for first nonOlsrInterface
author
Ferry Huberts
<ferry.huberts@pelagic.nl>
Tue, 1 Mar 2011 15:58:11 +0000
(16:58 +0100)
committer
Ferry Huberts
<ferry.huberts@pelagic.nl>
Tue, 1 Mar 2011 15:59:16 +0000
(16:59 +0100)
just like in
1b8be499965fdeea0b3bdd1dbfb610bceea8928f
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/mdns/src/NetworkInterfaces.c
patch
|
blob
|
history
diff --git
a/lib/mdns/src/NetworkInterfaces.c
b/lib/mdns/src/NetworkInterfaces.c
index
9134bd7
..
ad3deae
100644
(file)
--- a/
lib/mdns/src/NetworkInterfaces.c
+++ b/
lib/mdns/src/NetworkInterfaces.c
@@
-285,6
+285,7
@@
CreateInterface(const char *ifName, struct interface *olsrIntf)
* added at the front of the list, non-OLSR interfaces at the back. */
if (BmfInterfaces == NULL) {
/* First TBmfInterface object in list */
+ newIf->next = NULL;
BmfInterfaces = newIf;
LastBmfInterface = newIf;
} else if (olsrIntf != NULL) {