projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow PMTUDiscovery in switch and hub modes again.
[tinc]
/
src
/
meta.c
diff --git
a/src/meta.c
b/src/meta.c
index
a32d413
..
b59f15b
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();
+ 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);