mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-02 22:34:57 +01:00
formatting
This commit is contained in:
@@ -622,7 +622,7 @@ void getIpAddressinString(char *cip, uint32_t ip) {
|
||||
inet_ntop(AF_INET, &ip, cip, INET_ADDRSTRLEN);
|
||||
#else
|
||||
sprintf(cip, "%d.%d.%d.%d", (ip >> 24) & 0xff, (ip >> 16) & 0xff,
|
||||
(ip >> 8) & 0xff, (ip)&0xff);
|
||||
(ip >> 8) & 0xff, (ip) & 0xff);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user