diff options
author | Hiroki Shirokura <slank.dev@gmail.com> | 2020-02-04 07:56:40 +0100 |
---|---|---|
committer | Hiroki Shirokura <slank.dev@gmail.com> | 2020-02-14 01:13:43 +0100 |
commit | 45a06b11a686054cf885f61795a71081dafac9c5 (patch) | |
tree | 25abdc96cb0531e759057ebbeac20b7d5bb304f3 /tests | |
parent | bgpd: fix Prefix-SID parsing failure case (diff) | |
download | frr-45a06b11a686054cf885f61795a71081dafac9c5.tar.xz frr-45a06b11a686054cf885f61795a71081dafac9c5.zip |
bgpd: refactor func prototype arround Prefix-SID
mp_update value isn't used by the function arround Prefix-SID.
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bgpd/test_mp_attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bgpd/test_mp_attr.c b/tests/bgpd/test_mp_attr.c index c97ea5715..d46dd8864 100644 --- a/tests/bgpd/test_mp_attr.c +++ b/tests/bgpd/test_mp_attr.c @@ -1027,7 +1027,7 @@ static void parse_test(struct peer *peer, struct test_segment *t, int type) parse_ret = bgp_mp_unreach_parse(&attr_args, &nlri); break; case BGP_ATTR_PREFIX_SID: - parse_ret = bgp_attr_prefix_sid(&attr_args, &nlri); + parse_ret = bgp_attr_prefix_sid(&attr_args); break; default: printf("unknown type"); |