Project

General

Profile

Actions

Regression #14493

closed

FRR,PHP errors when deleting neighbor

Added by Lev Prokofev about 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
FRR
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

Steps to reproduce:

Go to Services=>FRR=>BGP=>Neighbors

1)Add new neighbor
2)Set IP\name
3)Set remote AS
4)Save
5)Delete neighbor

[21-Jun-2023 06:01:47 Etc/UTC] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/frr/inc/frr_bgp.inc:453
Stack trace:
#0 /usr/local/pkg/frr/inc/frr_bgp.inc(946): frr_bgp_generate_neighbors()
#1 /usr/local/pkg/frr.inc(672): frr_generate_config_bgp()
#2 /usr/local/www/pkg.php(142) : eval()'d code(1): frr_generate_config()
#3 /usr/local/www/pkg.php(142): eval()
#4 {main}
  thrown in /usr/local/pkg/frr/inc/frr_bgp.inc on line 453

Tested on

23.05-RELEASE (amd64)
built on Mon May 22 15:04:36 UTC 2023
FreeBSD 14.0-CURRENT

Related issues

Related to Regression #14561: FRR errors accessing Global Settings after deleting BGP neighborResolvedJim Pingle

Actions
Actions #1

Updated by aleksei prokofiev about 2 years ago

I can confirm that error
Tested on

23.05-RELEASE (amd64)
built on Mon May 22 15:04:36 UTC 2023
FreeBSD 14.0-CURRENT

FRR 1.2_3

Actions #2

Updated by Lev Prokofev about 2 years ago

Additional note.

If you disable the FRR service - you can delete anything without errors.

Actions #3

Updated by Danilo Zrenjanin almost 2 years ago

  • Status changed from New to Confirmed

I can confirm this behavior.

Tested against:

pfSense-pkg-frr-1.2_3

Actions #4

Updated by Christopher Cope almost 2 years ago

  • Related to Regression #14561: FRR errors accessing Global Settings after deleting BGP neighbor added
Actions #5

Updated by Jim Pingle almost 2 years ago

  • Assignee set to Jim Pingle
Actions #6

Updated by Jim Pingle almost 2 years ago

  • Status changed from Confirmed to Feedback
  • % Done changed from 0 to 100

Fixed in FRR Package v1.3, which is building now and will be available shortly.

Actions #7

Updated by Lev Prokofev almost 2 years ago

  • Status changed from Feedback to Resolved

No more errors, with the 1.3 package, marked it resolved.

Actions

Also available in: Atom PDF