| 954 | #pragma GCC diagnostic ignored "-Wformat" |
| 955 | #pragma GCC diagnostic ignored "-Wformat-extra-args" |
| 956 | char * |
| 957 | ether_sprintf(const u_char *ap) |
| 958 | { |
| 959 | static char etherbuf[18]; |
| 960 | snprintf(etherbuf, sizeof (etherbuf), "%6D", ap, ":"); |
| 961 | return (etherbuf); |
| 962 | } |
| 963 | |
| 964 | /* |
| 965 | * Perform common duties while attaching to interface list |
no test coverage detected