From: Quentin Young Date: Wed, 13 Jun 2018 16:22:01 +0000 (+0000) Subject: pbrd, lib: move PBR_STR def. to lib X-Git-Tag: frr-6.1-dev~279^2~2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=8c28c034dc1d3aeb440a106b22a5cb3508d1563d;p=matthieu%2Ffrr.git pbrd, lib: move PBR_STR def. to lib Per request Signed-off-by: Quentin Young --- diff --git a/lib/pbr.h b/lib/pbr.h index 401cfb0813..1f42878ece 100644 --- a/lib/pbr.h +++ b/lib/pbr.h @@ -20,6 +20,8 @@ #ifndef _PBR_H #define _PBR_H +#define PBR_STR "Policy Based Routing\n" + /* * A PBR filter * diff --git a/pbrd/pbr_vty.c b/pbrd/pbr_vty.c index dc194323d6..0744ccf700 100644 --- a/pbrd/pbr_vty.c +++ b/pbrd/pbr_vty.c @@ -27,6 +27,7 @@ #include "nexthop_group.h" #include "log.h" #include "debug.h" +#include "pbr.h" #include "pbrd/pbr_nht.h" #include "pbrd/pbr_map.h" diff --git a/pbrd/pbr_vty.h b/pbrd/pbr_vty.h index b2da736fd8..6e345fd7e2 100644 --- a/pbrd/pbr_vty.h +++ b/pbrd/pbr_vty.h @@ -20,7 +20,5 @@ #ifndef __PBR_VTY_H__ #define __PBR_VTY_H__ -#define PBR_STR "Policy Based Routing\n" - extern void pbr_vty_init(void); #endif