diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2019-10-29 08:58:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-29 08:58:51 +0200 |
| commit | f7f051f2302766dd2890b43b9298ac757dacf93c (patch) | |
| tree | 6378533506146214d74b81b056ac755490a22f82 /bgpd/rfapi/rfapi.c | |
| parent | 882364f11a7ab5545b8c2def58b8996893b31702 (diff) | |
| parent | 36f12ed703b13f1e4ff69077fac3d9d1a591336f (diff) | |
Merge pull request #5234 from donaldsharp/fix_sa_or_else
Fix sa or else
Diffstat (limited to 'bgpd/rfapi/rfapi.c')
| -rw-r--r-- | bgpd/rfapi/rfapi.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bgpd/rfapi/rfapi.c b/bgpd/rfapi/rfapi.c index 83b05ce536..7c4f8eaa01 100644 --- a/bgpd/rfapi/rfapi.c +++ b/bgpd/rfapi/rfapi.c @@ -3190,12 +3190,8 @@ DEFUN (debug_rfapi_register_vn_un_l2o, return CMD_WARNING_CONFIG_FAILED; } optary[opt_next].type = RFAPI_VN_OPTION_TYPE_L2ADDR; - if (opt_next) { - optary[opt_next - 1].next = optary + opt_next; - } else { - opt = optary; - } - ++opt_next; + opt = optary; + /* L2 option parsing END */ /* TBD fixme */ |
