summaryrefslogtreecommitdiff
path: root/pimd/pim_autorp.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2024-10-16 12:42:30 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2024-10-16 13:30:25 +0200
commit17f512c10dabfd895172926e7f99b63b02fe3be3 (patch)
tree44ecc72fe8261563bb0e0f15b38e86e79485088b /pimd/pim_autorp.c
parenta67df2a17f69a4e847bad84568f13e1d0fccd02d (diff)
lib: fix invalid use of errno in PTM
errno is only valid if there was an actual error. A zero return value isn't an error, it's either EOF or an empty datagram depending on context. Fix the logic. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_autorp.c')
0 files changed, 0 insertions, 0 deletions