mirror of
https://github.com/solemnwarning/ipxwrapper
synced 2024-12-30 16:45:37 +01:00
Fixed ipx_to_string.
This commit is contained in:
parent
076792d94b
commit
2aa64787ab
@ -190,9 +190,9 @@ bool reg_set_addr48(HKEY key, const char *name, addr48_t value)
|
||||
void ipx_to_string(char *buf, addr32_t net, addr48_t node, uint16_t sock)
|
||||
{
|
||||
addr32_string(buf, net);
|
||||
buf[17] = '/';
|
||||
buf[11] = '/';
|
||||
|
||||
addr48_string(buf + 18, node);
|
||||
addr48_string(buf + 12, node);
|
||||
buf[29] = '/';
|
||||
|
||||
sprintf(buf + 30, "%hu", ntohs(sock));
|
||||
|
Loading…
x
Reference in New Issue
Block a user