VPP-92 Fixup some srv6 issues 66/1266/6
authorChris Luke <chrisy@flirble.org>
Wed, 25 May 2016 18:39:47 +0000 (14:39 -0400)
committerKeith Burns <alagalah@gmail.com>
Thu, 2 Jun 2016 20:58:38 +0000 (20:58 +0000)
commit4b8b718ff9bbba3bea018505ac591bb737f68001
treecff3a052e2bb621f2372b2927dc6f95522174461
parent4cd850e7b2825335bbaa43ce1fd85f8d16821024
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>
vnet/vnet/sr/sr.c
vnet/vnet/sr/sr_packet.h