From 15f3563f1b9af67897fa050122cde22b5bd293de Mon Sep 17 00:00:00 2001 From: David Goulet Date: Thu, 10 Mar 2016 17:52:36 -0500 Subject: trunnel: Uncomment link_specifier so we can use it Also add a trunnel definition for link_specifier_list Signed-off-by: John Brooks Signed-off-by: David Goulet Signed-off-by: George Kadianakis --- src/trunnel/ed25519_cert.trunnel | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/trunnel/ed25519_cert.trunnel') diff --git a/src/trunnel/ed25519_cert.trunnel b/src/trunnel/ed25519_cert.trunnel index c46f1b6c6b..012b2afc30 100644 --- a/src/trunnel/ed25519_cert.trunnel +++ b/src/trunnel/ed25519_cert.trunnel @@ -55,6 +55,7 @@ struct auth02_cell { u8 rand[24]; u8 sig[64]; } +*/ const LS_IPV4 = 0x00; const LS_IPV6 = 0x01; @@ -73,4 +74,8 @@ struct link_specifier { default: u8 unrecognized[]; }; } -*/ \ No newline at end of file + +struct link_specifier_list { + u8 n_spec; + struct link_specifier spec[n_spec]; +} -- cgit v1.2.3-54-g00ecf