Diff for /embedaddon/quagga/ripngd/ripng_routemap.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 17:26:11 version 1.1.1.2, 2016/11/02 10:09:12
Line 29 Line 29
 #include "sockunion.h"  #include "sockunion.h"
   
 #include "ripngd/ripngd.h"  #include "ripngd/ripngd.h"
 struct rip_metric_modifier  struct rip_metric_modifier
 {  {
   enum     enum 
Line 42  struct rip_metric_modifier Line 42  struct rip_metric_modifier
   u_char metric;    u_char metric;
 };  };
   
 static int  static int
 ripng_route_match_add (struct vty *vty, struct route_map_index *index,  ripng_route_match_add (struct vty *vty, struct route_map_index *index,
                        const char *command, const char *arg)                         const char *command, const char *arg)
Line 130  ripng_route_set_delete (struct vty *vty, struct route_ Line 130  ripng_route_set_delete (struct vty *vty, struct route_
     }      }
   return CMD_SUCCESS;    return CMD_SUCCESS;
 }  }
 /* `match metric METRIC' */  /* `match metric METRIC' */
 /* Match function return 1 if match is success else return zero. */  /* Match function return 1 if match is success else return zero. */
 static route_map_result_t  static route_map_result_t
Line 184  static struct route_map_rule_cmd route_match_metric_cm Line 184  static struct route_map_rule_cmd route_match_metric_cm
   route_match_metric_compile,    route_match_metric_compile,
   route_match_metric_free    route_match_metric_free
 };  };
 /* `match interface IFNAME' */  /* `match interface IFNAME' */
 /* Match function return 1 if match is success else return zero. */  /* Match function return 1 if match is success else return zero. */
 static route_map_result_t  static route_map_result_t
Line 284  static struct route_map_rule_cmd route_match_tag_cmd = Line 284  static struct route_map_rule_cmd route_match_tag_cmd =
   route_match_tag_compile,    route_match_tag_compile,
   route_match_tag_free    route_match_tag_free
 };  };
 /* `set metric METRIC' */  /* `set metric METRIC' */
   
 /* Set metric to attribute. */  /* Set metric to attribute. */
Line 496  static struct route_map_rule_cmd route_set_tag_cmd = Line 496  static struct route_map_rule_cmd route_set_tag_cmd =
   route_set_tag_compile,    route_set_tag_compile,
   route_set_tag_free    route_set_tag_free
 };  };
 #define MATCH_STR "Match values from routing table\n"  #define MATCH_STR "Match values from routing table\n"
 #define SET_STR "Set values in destination routing protocol\n"  #define SET_STR "Set values in destination routing protocol\n"
   

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>