VPP-92 Fixup some srv6 issues 77/1377/2
authorChris Luke <chrisy@flirble.org>
Wed, 25 May 2016 18:39:47 +0000 (14:39 -0400)
committerChris Luke <chris_luke@cable.comcast.com>
Fri, 3 Jun 2016 00:57:10 +0000 (00:57 +0000)
commit1f752a3f8ff420aa7d67904c2bf29ca3f2ea10b7
treec7e3913932f4dfa3f8f79474d5be57210a168a43
parent45eb9713fe77bbb460e91f62bdfb8ecb80555cb8
VPP-92 Fixup some srv6 issues

Some small fixes to the srv6 code to bring it toward
conformance with draft-previdi-6man-segment-routing-header-05.

- The first segment needs to remain in the segment list.
- The segment list template needs a space for the ultimate
  destination.
- The ultimate destination needs to be inserted into that
  space when adding the SRH.

Change-Id: I66db6912e0128da084f14ceca20918ef67ccff79
Signed-off-by: Chris Luke <chrisy@flirble.org>
(cherry picked from commit 4b8b718ff9bbba3bea018505ac591bb737f68001)
vnet/vnet/sr/sr.c
vnet/vnet/sr/sr_packet.h