Skip to content

Commit

Permalink
Editorial: IPv4 in IPv6 cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rmisev authored and annevk committed Apr 14, 2017
1 parent 703fcd0 commit 488c459
Showing 1 changed file with 4 additions and 5 deletions.
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

0 comments on commit 488c459

Please sign in to comment.