diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-07-06 15:30:31 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-07-11 13:47:31 +0200 |
| commit | 4cb260c33e7656d35167beb3d006e6a78766716e (patch) | |
| tree | a48ac21c81330cc2f94b6f4cbc8eb9f3de8cdb71 /lib/table.c | |
| parent | 9dc716d64c1e2aa7dbd894f0eaa4c3363391941f (diff) | |
lib: add some abstraction guards for table code
route_node->parent and route_node->link shouldn't be touched by user
code since that is a recipe for trouble once we have a hash table in
parallel.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/table.c')
| -rw-r--r-- | lib/table.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/table.c b/lib/table.c index fdbd2913b2..d4dbeb79cc 100644 --- a/lib/table.c +++ b/lib/table.c @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#define FRR_COMPILING_TABLE_C + #include <zebra.h> #include "prefix.h" |
