]> git.puffer.fish Git - matthieu/frr.git/commit
lib: prefix: try harder to not hash garbage
authorDavid Lamparter <equinox@opensourcerouting.org>
Wed, 23 Aug 2017 16:51:18 +0000 (18:51 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 23 Aug 2017 22:18:53 +0000 (00:18 +0200)
commitc0e29be115fcf67e9b7ea77581fbcd94b3402672
treed5ec823e4a4b4cbbf8c213767abbfdce46ba1a5a
parent8d0ab76de11bdaf38d9c89291347497bfed2d18b
lib: prefix: try harder to not hash garbage

With prefix_ptr or prefix_ls, there can still be stuff in a struct
prefix that we shouldn't hash.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/prefix.c