Skip to content

Commit

Permalink
Merge pull request #401 from cybwan/fix-issue
Browse files Browse the repository at this point in the history
remove duplicate code
  • Loading branch information
UltraInstinct14 authored Sep 21, 2023
2 parents fffb9b0 + be23355 commit 4eba2cc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/loxinlp/nlp.go
Original file line number Diff line number Diff line change
Expand Up @@ -1534,7 +1534,6 @@ func NlpInit(bgpPeerMode bool, blackList string) *NlH {
nNl.BLRgx = regexp.MustCompile(blackList)

if bgpPeerMode {
nNl.FromRUCh = make(chan nlp.RouteUpdate, cmn.RuWorkQLen)
nNl.FromRUCh = make(chan nlp.RouteUpdate, cmn.RuWorkQLen)
err := nlp.RouteSubscribe(nNl.FromRUCh, nNl.FromRUDone)
if err != nil {
Expand Down

0 comments on commit 4eba2cc

Please sign in to comment.