Project

General

Profile

Bug #11267

PHP Error in FRR after WireGuard merge

Added by Steve Wheeler 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Category:
WireGuard
Target version:
Start date:
01/20/2021
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.5.x
Affected Architecture:
All
Release Notes:
Default

Description

Testing:

2.5.0-DEVELOPMENT (amd64)
built on Wed Jan 20 00:05:33 EST 2021
FreeBSD 12.2-STABLE

With FRR 1.0.0.

After the WireGuard merge a php error is shown:

[20-Jan-2021 12:34:58 Europe/London] PHP Warning:  Illegal offset type in /usr/local/pkg/frr/inc/frr_bgp.inc on line 92

See: 09b7a320b5a4476972ab4a8ff15f4243d40395ef

History

#1 Updated by Jim Pingle 3 months ago

  • Status changed from New to Feedback
  • Assignee set to Renato Botelho
  • Private changed from Yes to No

This is due to WireGuard trying to use the 'peer' tag as a list when it should be using 'wgpeer' which didn't carry over during the import to CE. It's been fixed in 55da9aef7c091141e29fdb74c36991dc92c56aa7

#2 Updated by Zachary McGibbon 3 months ago

I applied the patch and the neighbors came back. Thanks for the quick fix!

#3 Updated by Renato Botelho 3 months ago

  • Status changed from Feedback to Resolved

#4 Updated by Jim Pingle 3 months ago

  • Category changed from Interfaces to WireGuard

Also available in: Atom PDF