Commit 9734e4e
committed
Fix IP addresses printing on Unix
The IP-to-text functions were producing different formats, resulting in lw_addr_pretty_string() aborting with "".
Standardized them to Windows, partially because they're actually following the standard, and partially because I won't have to patch lw_addr_pretty_string().
It wouldn't surprise me if inet_ntop()'s output varied in different flavours and versions of Unix-based OSes, but hopefully not. Cross that when we come to it.1 parent 0d031fb commit 9734e4e
File tree
2 files changed
+7
-5
lines changed- Lacewing/src
2 files changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
260 | 259 | | |
| 260 | + | |
| 261 | + | |
261 | 262 | | |
262 | 263 | | |
| 264 | + | |
263 | 265 | | |
264 | 266 | | |
265 | 267 | | |
| |||
268 | 270 | | |
269 | 271 | | |
270 | 272 | | |
| 273 | + | |
| 274 | + | |
271 | 275 | | |
272 | 276 | | |
273 | 277 | | |
274 | | - | |
| 278 | + | |
275 | 279 | | |
| 280 | + | |
276 | 281 | | |
277 | 282 | | |
278 | 283 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | 195 | | |
199 | 196 | | |
200 | 197 | | |
| |||
0 commit comments