diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2024-10-16 12:42:30 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2024-10-16 13:30:25 +0200 |
| commit | 17f512c10dabfd895172926e7f99b63b02fe3be3 (patch) | |
| tree | 44ecc72fe8261563bb0e0f15b38e86e79485088b /pimd/pim_autorp.c | |
| parent | a67df2a17f69a4e847bad84568f13e1d0fccd02d (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
