Commit 8bf2f920 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Remove useless call to find_datum.

Thanks to Antonin Décimo.
parent 0ba07844
...@@ -588,7 +588,6 @@ parse_tlv(struct neighbour *neigh) ...@@ -588,7 +588,6 @@ parse_tlv(struct neighbour *neigh)
} }
debugf("<- Update %d (%d) %ld\n", debugf("<- Update %d (%d) %ld\n",
keylen <= 0 ? -1 : (int)body[7], keylen, (long)time); keylen <= 0 ? -1 : (int)body[7], keylen, (long)time);
datum = find_datum(body + 7, keylen);
datum = update_datum(body + 7, keylen, seqno, datum = update_datum(body + 7, keylen, seqno,
body + 7 + keylen, len - keylen - 7, body + 7 + keylen, len - keylen - 7,
time, &doit, &conflict); time, &doit, &conflict);
......
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