summaryrefslogtreecommitdiffstats
path: root/src/vnet/srv6/sr.h
diff options
context:
space:
mode:
authorFrancesco Lombardo <franclombardo@gmail.com>2021-07-30 15:54:01 +0200
committerBeno�t Ganne <bganne@cisco.com>2022-03-21 18:18:00 +0000
commit38659d8f2c588500f4e844195e0c59ab1cf6107f (patch)
treefad646bb5ea5f2dd1a5d82b24b590ea86bbd842e /src/vnet/srv6/sr.h
parent8a96c6d0e71428df0ea98e52c5e8f8e1318adc0d (diff)
sr: fix srv6 definition of behavior associated to a LocalSID
The behavior associateted to a LocalSID accordig to the definition should be u8 instead of u16; Type: fix Signed-off-by: Francesco Lombardo <franclombardo@gmail.com> Change-Id: I6dd60d5facc1c3f20900cb393619349e82eef38c Signed-off-by: Francesco Lombardo <franclombardo@gmail.com>
Diffstat (limited to 'src/vnet/srv6/sr.h')
-rw-r--r--src/vnet/srv6/sr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/srv6/sr.h b/src/vnet/srv6/sr.h
index ea9ff709feb..507f8dfab9f 100644
--- a/src/vnet/srv6/sr.h
+++ b/src/vnet/srv6/sr.h
@@ -128,7 +128,7 @@ typedef struct
char end_psp; /**< Combined with End.PSP? */
- u16 behavior; /**< Behavior associated to this localsid */
+ u8 behavior; /**< Behavior associated to this localsid */
union
{