Skip to content
Snippets Groups Projects
Unverified Commit e384f899 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-radv-filterd: remove unneeded memset

parent 9be7a5ca
No related branches found
Tags v2019.1.1
No related merge requests found
......@@ -559,14 +559,13 @@ static int parse_tt_local(struct nl_msg *msg,
}
static void update_tqs(void) {
static const struct ether_addr unspec = {};
struct router *router;
bool update_originators = false;
struct ether_addr unspec;
struct batadv_nlquery_opts opts;
int ret;
// reset TQs
memset(&unspec, 0, sizeof(unspec));
foreach(router, G.routers) {
router->tq = 0;
if (ether_addr_equal(router->originator, unspec))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment