linux-cp: Cleanup any existing pairs when an interface is deleted 48/33948/2
authorNeale Ranns <neale@graphiant.com>
Mon, 4 Oct 2021 15:28:47 +0000 (15:28 +0000)
committerMatthew Smith <mgsmith@netgate.com>
Wed, 3 Nov 2021 12:56:11 +0000 (12:56 +0000)
commit0d7fd782e058e6e1f1e80c1f2879da7ad8cf5892
tree58bc74982228d4c4278169dc49c3462e66a0a771
parentbed9b7269add622fbb49184c7d2f24da8a97520e
linux-cp: Cleanup any existing pairs when an interface is deleted

Type: fix

This only happens when the user deletes the physical before they delete the pair, that's not supoosed to be the case, but don't crash if it is.

Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: I8c2317b360d897775dde23833d04430f88531cbd
src/plugins/linux-cp/lcp_interface.c