summaryrefslogtreecommitdiff
path: root/src/lib/enroll.proto
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/enroll.proto')
-rw-r--r--src/lib/enroll.proto14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/lib/enroll.proto b/src/lib/enroll.proto
index 34ca1847..3b22ac17 100644
--- a/src/lib/enroll.proto
+++ b/src/lib/enroll.proto
@@ -25,16 +25,18 @@ import "ipcp_config.proto";
message enroll_req_msg {
/* TODO authentication */
- required uint32 magic = 1;
+ required bytes id = 1;
}
message enroll_resp_msg {
- required int64 t_sec = 1;
- required int32 t_nsec = 2;
- required int32 response = 3;
- optional ipcp_config_msg conf = 4;
+ required bytes id = 1;
+ required int64 t_sec = 2;
+ required int32 t_nsec = 3;
+ required int32 response = 4;
+ optional ipcp_config_msg conf = 5;
}
message enroll_ack_msg {
- required int32 response = 1;
+ required bytes id = 1;
+ required int32 result = 2;
}