summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2001-08-19 11:11:44 +0000
committerMartin Mares <mj@ucw.cz>2001-08-19 11:11:44 +0000
commit30b773041c37d10649a16d5f28af00a25871aac7 (patch)
tree4cf586625907093aae7179e7b3b029f3a2d8839d /proto
parent16319aebd30da5161bed95d72094250228a7f61c (diff)
IP address formatting now uses the same rules as formatting of strings
with two exceptions: o Any non-zero field width is automatically replaced by standard IP address width. This hides dependences on IPv4/IPv6. o %#I generates hexadecimal form of the address. Therefore |%I| generates unpadded format, |%1I| full size flush-right, and |%-1I| full size flush-left format.
Diffstat (limited to 'proto')
0 files changed, 0 insertions, 0 deletions