summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-09-12 16:33:29 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-09-12 16:33:29 +0200
commitf2dd602fef2ecf0a6598b817d71ce2ee8fadd5cc (patch)
tree5f6a44704530554148565c7f0a563ad124bd79c3 /proto
parent9f4908fe78cb3e5191bca721588ee1acb10876e3 (diff)
Backport some minor changes from int-new
Diffstat (limited to 'proto')
-rw-r--r--proto/bgp/attrs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c
index b9e2490d..73eb4040 100644
--- a/proto/bgp/attrs.c
+++ b/proto/bgp/attrs.c
@@ -469,8 +469,6 @@ bgp_get_attr_len(eattr *a)
return len;
}
-#define ADVANCE(w, r, l) do { r -= l; w += l; } while (0)
-
/**
* bgp_encode_attrs - encode BGP attributes
* @p: BGP instance