| 914 | } |
| 915 | |
| 916 | static bool |
| 917 | is_ipmap_allowed(const config_t *config, const struct sockaddr *addr) |
| 918 | { |
| 919 | if (!addr) { |
| 920 | return true; |
| 921 | } |
| 922 | |
| 923 | if (config->addrs.contains(swoc::IPAddr(addr))) { |
| 924 | return true; |
| 925 | } |
| 926 | |
| 927 | return false; |
| 928 | } |
| 929 | static void |
| 930 | parseIpMap(config_t *config, swoc::TextView txt) |
| 931 | { |
no test coverage detected