[packages] olsrd: update to v0.5.6-r8
[lede-routing/.git] / patches / 150-olsrd_quagga_backport.patch
index 59eac7118da7a40f0f903dfd87b71325b44e2ce5..a8ff83095d3082ec97a11f452265055573fa126a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/lib/quagga/Makefile
 +++ b/lib/quagga/Makefile
-@@ -40,21 +40,19 @@ OLSRD_PLUGIN =     true
+@@ -40,21 +40,19 @@
  PLUGIN_NAME = olsrd_quagga
  PLUGIN_VER =  0.2.2
  
@@ -27,7 +27,7 @@
  default_target: $(PLUGIN_FULLNAME)
  
  $(PLUGIN_FULLNAME): $(OBJS) version-script.txt
-@@ -66,4 +64,5 @@ install:     $(PLUGIN_FULLNAME)
+@@ -66,4 +64,5 @@
  
  clean:
                rm -f $(OBJS) $(SRCS:%.c=%.d) $(PLUGIN_FULLNAME)
  
  ---------------------------------------------------------------------
  PLUGIN PARAMETERS (PlParam)
-@@ -27,22 +27,22 @@ PlParam "redistribute" "<protocol>"
+@@ -27,22 +27,22 @@
        May be used more then once
  
  PlParam "ExportRoutes" "<only/both>"
  
  LoadPlugin "olsrd_quagga.so.0.2.2"
  {
-@@ -55,4 +55,4 @@ LoadPlugin "olsrd_quagga.so.0.2.2"
+@@ -55,4 +55,4 @@
  
  
  ---------------------------------------------------------------------
  #include "net_olsr.h"
  
  #define PLUGIN_NAME    "OLSRD quagga plugin"
-@@ -41,120 +43,94 @@ static set_plugin_parameter set_exportro
+@@ -41,120 +43,94 @@
  static set_plugin_parameter set_distance;
  static set_plugin_parameter set_localpref;
  
    route.metric = 0;
  
    if (zebra.distance) {
-@@ -868,36 +557,23 @@ zebra_del_olsr_v4_route(const struct rt_
+@@ -868,36 +557,23 @@
      route.distance = zebra.distance;
    }