mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix style of ether_ntoa().
This commit is contained in:
parent
e69e77782d
commit
7c1d25d6c2
1 changed files with 3 additions and 3 deletions
|
|
@ -118,9 +118,9 @@ char
|
|||
int i;
|
||||
static char a[18];
|
||||
|
||||
i = sprintf(a,"%02x:%02x:%02x:%02x:%02x:%02x",
|
||||
n->octet[0],n->octet[1],n->octet[2],
|
||||
n->octet[3],n->octet[4],n->octet[5]);
|
||||
i = sprintf(a, "%02x:%02x:%02x:%02x:%02x:%02x",
|
||||
n->octet[0], n->octet[1], n->octet[2],
|
||||
n->octet[3], n->octet[4], n->octet[5]);
|
||||
if (i < 17)
|
||||
return (NULL);
|
||||
return ((char *)&a);
|
||||
|
|
|
|||
Loading…
Reference in a new issue