projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't try to send MTU probes to unreachable nodes.
[oweals/tinc.git]
/
src
/
meta.c
diff --git
a/src/meta.c
b/src/meta.c
index a32d413776d1f7781f5076dc24b7bf7808d62337..b59f15b09443f47596d8e60454686e262c5298b7 100644
(file)
--- a/
src/meta.c
+++ b/
src/meta.c
@@
-41,6
+41,11
@@
bool send_meta(connection_t *c, const char *buffer, int length)
cp();
cp();
+ if(!c) {
+ logger(LOG_ERR, _("send_meta() called with NULL pointer!"));
+ abort();
+ }
+
ifdebug(META) logger(LOG_DEBUG, _("Sending %d bytes of metadata to %s (%s)"), length,
c->name, c->hostname);
ifdebug(META) logger(LOG_DEBUG, _("Sending %d bytes of metadata to %s (%s)"), length,
c->name, c->hostname);