mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-09 20:58:44 +00:00
Merge commit '06301a991d80597a2a0a9e449d0cdf4bc1eda6d1' into mq-merge-step-1
This commit is contained in:
commit
87fcb810af
@ -1715,7 +1715,7 @@ in the foot).
|
|||||||
Prefix <cf><m>ip1</m>/<m>len1</m></cf> matches prefix
|
Prefix <cf><m>ip1</m>/<m>len1</m></cf> matches prefix
|
||||||
pattern <cf><m>ip2</m>/<m>len2</m>{<m>l</m>,<m>h</m>}</cf> if the
|
pattern <cf><m>ip2</m>/<m>len2</m>{<m>l</m>,<m>h</m>}</cf> if the
|
||||||
first <cf>min(len1, len2)</cf> bits of <cf/ip1/ and <cf/ip2/ are
|
first <cf>min(len1, len2)</cf> bits of <cf/ip1/ and <cf/ip2/ are
|
||||||
identical and <cf>len1 <= ip1 <= len2</cf>. A valid prefix pattern
|
identical and <cf>l <= len1 <= h</cf>. A valid prefix pattern
|
||||||
has to satisfy <cf>low <= high</cf>, but <cf/pxlen/ is not
|
has to satisfy <cf>low <= high</cf>, but <cf/pxlen/ is not
|
||||||
constrained by <cf/low/ or <cf/high/. Obviously, a prefix matches a
|
constrained by <cf/low/ or <cf/high/. Obviously, a prefix matches a
|
||||||
prefix set literal if it matches any prefix pattern in the prefix set
|
prefix set literal if it matches any prefix pattern in the prefix set
|
||||||
|
@ -1264,7 +1264,7 @@ rta__free(rta *a)
|
|||||||
rta *
|
rta *
|
||||||
rta_do_cow(rta *o, linpool *lp)
|
rta_do_cow(rta *o, linpool *lp)
|
||||||
{
|
{
|
||||||
rta *r = lp_alloc(lp, rta_size(o));
|
rta *r = lp_alloc(lp, RTA_MAX_SIZE);
|
||||||
memcpy(r, o, rta_size(o));
|
memcpy(r, o, rta_size(o));
|
||||||
for (struct nexthop **nhn = &(r->nh.next), *nho = o->nh.next; nho; nho = nho->next)
|
for (struct nexthop **nhn = &(r->nh.next), *nho = o->nh.next; nho; nho = nho->next)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user