Skip to content

DELETE /api/v1/interface call fails on on pfSense 2.5.0-RELEASE #80

@jaredhendrickson13

Description

@jaredhendrickson13

Looks like our first compatibility issue with the official release of pfSense 2.5.0.

Fatal error: Uncaught Error: Call to undefined function link_interface_to_gre() in /etc/inc/api/models/APIInterfaceDelete.inc:56
Stack trace:
#0 /etc/inc/api/models/APIInterfaceDelete.inc(31): APIInterfaceDelete->destroy_interface('opt1')
#1 /etc/inc/api/framework/APIModel.inc(97): APIInterfaceDelete->action()
#2 /etc/inc/api/endpoints/APIInterface.inc(36): APIModel->call()
#3 /etc/inc/api/framework/APIEndpoint.inc(63): APIInterface->delete()
#4 /usr/local/www/api/v1/interface/index.php(3): APIEndpoint->listen()
#5 {main}
  thrown in /etc/inc/api/models/APIInterfaceDelete.inc on line 56
PHP ERROR: Type: 1, File: /etc/inc/api/models/APIInterfaceDelete.inc, Line: 56, Message: Uncaught Error: Call to undefined function link_interface_to_gre() in /etc/inc/api/models/APIInterfaceDelete.inc:56
Stack trace:
#0 /etc/inc/api/models/APIInterfaceDelete.inc(31): APIInterfaceDelete->destroy_interface('opt1')
#1 /etc/inc/api/framework/APIModel.inc(97): APIInterfaceDelete->action()
#2 /etc/inc/api/endpoints/APIInterface.inc(36): APIModel->call()
#3 /etc/inc/api/framework/APIEndpoint.inc(63): APIInterface->delete()
#4 /usr/local/www/api/v1/interface/index.php(3): APIEndpoint->listen()
#5 {main}
  thrown

Metadata

Metadata

Labels

bugSomething isn't workingpfSense 2.5Features, fixes and issues that are specific to pfSense 2.5.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions