Skip to content

Commit 5c55f6e

Browse files
olsonjefferybrson
authored andcommitted
---
yaml --- r: 12973 b: refs/heads/master c: f2fd3bc h: refs/heads/master i: 12971: e30820d v: v3
1 parent a359550 commit 5c55f6e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 64048d43d6d71d022b8324b36b5132df4099e2ae
2+
refs/heads/master: f2fd3bcf1740dfb1c8802ef0586b1c38ab171caa
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/libstd/net_ip.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export v4;
1414
enum ip_addr {
1515
#[doc="An IPv4 address"]
1616
ipv4(u8, u8, u8, u8),
17+
ipv6(u16,u16,u16,u16,u16,u16,u16,u16)
1718
}
1819

1920
#[doc="
@@ -28,6 +29,9 @@ fn format_addr(ip: ip_addr) -> str {
2829
ipv4(a, b, c, d) {
2930
#fmt["%u.%u.%u.%u", a as uint, b as uint, c as uint, d as uint]
3031
}
32+
ipv6(a,b,c,d,e,f,g,h) {
33+
fail "FIXME impl parsing of ipv6 addr";
34+
}
3135
}
3236
}
3337

0 commit comments

Comments
 (0)