Project

General

Profile

Actions

Bug #11267

closed

PHP Error in FRR after WireGuard merge

Added by Steve Wheeler over 3 years ago. Updated over 3 years ago.

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

0%

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

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

Actions #1

Updated by Jim Pingle over 3 years 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

Actions #2

Updated by Zachary McGibbon over 3 years ago

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

Actions #3

Updated by Renato Botelho over 3 years ago

  • Status changed from Feedback to Resolved
Actions #4

Updated by Jim Pingle over 3 years ago

  • Category changed from Interfaces to WireGuard
Actions

Also available in: Atom PDF