diff options
author | Nathaniel Ferguson <nathaniel@leapfrog.foundation> | 2020-05-03 03:13:25 -0400 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2020-05-04 14:09:23 +0200 |
commit | a8c3c53c271b21878ea7c1c083bb5abfd634bb41 (patch) | |
tree | 66c50e4e2e1fb3f25f01a03b75c2e3189753b04f /trafgen_conf.h | |
parent | 9d71c0f9341711c5b0094bf95d087251689112a4 (diff) |
proto_lldp: Check inet_ntop() return values
Make netsniff error out of a recv routine if calls to inet_ntop() fail
by adding return value checks. There are other inet_ntop() usages of
similar however these are in a receive code path with user data for most
of the variables
Signed-off-by: Nathaniel Ferguson <nathaniel@leapfrog.foundation>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen_conf.h')
0 files changed, 0 insertions, 0 deletions