File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -1961,15 +1961,8 @@ void update_group_adjust_peer(struct peer_af *paf)
1961
1961
}
1962
1962
1963
1963
updgrp = update_group_find (paf );
1964
- if (!updgrp ) {
1964
+ if (!updgrp )
1965
1965
updgrp = update_group_create (paf );
1966
- if (!updgrp ) {
1967
- flog_err (EC_BGP_UPDGRP_CREATE ,
1968
- "couldn't create update group for peer %s" ,
1969
- paf -> peer -> host );
1970
- return ;
1971
- }
1972
- }
1973
1966
1974
1967
old_subgrp = paf -> subgroup ;
1975
1968
@@ -1992,11 +1985,8 @@ void update_group_adjust_peer(struct peer_af *paf)
1992
1985
}
1993
1986
1994
1987
subgrp = update_subgroup_find (updgrp , paf );
1995
- if (!subgrp ) {
1988
+ if (!subgrp )
1996
1989
subgrp = update_subgroup_create (updgrp );
1997
- if (!subgrp )
1998
- return ;
1999
- }
2000
1990
2001
1991
update_subgroup_add_peer (subgrp , paf , 1 );
2002
1992
if (BGP_DEBUG (update_groups , UPDATE_GROUPS ))
You can’t perform that action at this time.
0 commit comments