local-node: check correct field
authorDavid Bauer <mail@david-bauer.net>
Sun, 6 Feb 2022 22:44:30 +0000 (23:44 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sun, 6 Feb 2022 22:44:57 +0000 (23:44 +0100)
commit6aebb75cec17ced49bd8a5ea0d187349a5761644
tree49f56071174e403c9c7be3858dbf46709fb4723c
parentf42bf2962edd0199e4c96ebf19933b2846bcce27
local-node: check correct field

This causes segfaults on OpenWrt 21.02 which is missing the op-class
field.

Reported-by: John Crispin <john@phrozen.org>
Signed-off-by: David Bauer <mail@david-bauer.net>
local_node.c