Commit 47be3099 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix syntax of "add self" local interface line.

parent 4229bea0
......@@ -102,7 +102,7 @@ local_notify_self()
if(rc < 0)
strncpy(host, "alamakota", 64);
rc = snprintf(buf, 512, "add self %64s id %s\n",
rc = snprintf(buf, 512, "add self %.64s id %s\n",
host, format_eui64(myid));
if(rc < 0 || rc >= 512)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment