Fix bug of former commit
authorHenning Rogge <hrogge@gmail.com>
Sun, 28 Dec 2014 13:51:52 +0000 (14:51 +0100)
committerHenning Rogge <hrogge@gmail.com>
Sun, 28 Dec 2014 13:51:52 +0000 (14:51 +0100)
src/unix/ifnet.c

index c424222..3b3172a 100644 (file)
@@ -842,7 +842,7 @@ chk_if_up(struct olsr_if *iface, int debuglvl __attribute__ ((unused)))
   ifp->mode = iface->cnf->mode;
 
   /* Set up buffer */
-  net_add_buffer(&ifs);
+  net_add_buffer(ifp);
 
   /*
    *Call possible ifchange functions registered by plugins