commit 737a7b5fef9d30b3f0583a5cb0ae7548c853986e
parent 9926be60eb43938f818d022871493900c57689d3
Author: Yersa Nordman <yersa@finwo.nl>
Date: Fri, 13 Oct 2023 22:27:52 +0200
Fix brainfart packet interface detection
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
@@ -156,7 +156,7 @@ void handle_packet(void *entity) {
if (iface->type == PMLAG_ENTITY_TYPE_IFACE) {
return handle_packet_iface(iface);
}
- if (bond->type == PMLAG_ENTITY_TYPE_IFACE) {
+ if (bond->type == PMLAG_ENTITY_TYPE_BOND) {
return handle_packet_bond(bond);
}
}