Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPv4 in IPv6 cleanup #292

Merged
merged 1 commit into from
Apr 14, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions url.bs
Original file line number Diff line number Diff line change
Expand Up @@ -623,22 +623,21 @@ then runs these steps:
<p>Otherwise, set <var>ipv4Piece</var> to <var>ipv4Piece</var> &times; 10 +
<var>number</var>.

<li><p>Increase <var>pointer</var> by one.

<li><p>If <var>ipv4Piece</var> is greater than 255, <a>validation error</a>, return
failure.

<li><p>Increase <var>pointer</var> by one.
</ol>

<li><p>Set <var>piece</var> to <var>piece</var> &times; 0x100 + <var>ipv4Piece</var>.

<li><p>Increase <var>numbersSeen</var> by one.

<li><p>If <var>numbersSeen</var> is 2 or 4, then increase <var>piece pointer</var> by one.

<li><p>If <a>c</a> is the <a>EOF code point</a> and <var>numbersSeen</var> is not 4,
<a>validation error</a>, return failure.
</ol>

<li><p>If <var>numbersSeen</var> is not 4, <a>validation error</a>, return failure.

<li><p><a for=iteration>Break</a>.
</ol>

Expand Down