Skip to content

Commit

Permalink
interfaces-plugin: add max ip string length constant
Browse files Browse the repository at this point in the history
  • Loading branch information
andrej committed Oct 11, 2022
1 parent dddd672 commit 76d1a6f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/interfaces/src/plugin/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,6 @@

#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0]))

#define ADDR_STR_BUF_SIZE 45 // max ip string length (15 for ipv4 and 45 for ipv6)

#endif // INTERFACES_PLUGIN_COMMON_H

0 comments on commit 76d1a6f

Please sign in to comment.