equal
deleted
inserted
replaced
84 ["password-algorithms"] = 0x8002; |
84 ["password-algorithms"] = 0x8002; |
85 ["alternate-domains"] = 0x8003; |
85 ["alternate-domains"] = 0x8003; |
86 |
86 |
87 -- TURN |
87 -- TURN |
88 ["requested-transport"] = 0x0019; |
88 ["requested-transport"] = 0x0019; |
|
89 ["xor-peer-address"] = 0x0012; |
|
90 ["data"] = 0x0013; |
|
91 ["xor-relayed-address"] = 0x0016; |
89 }; |
92 }; |
90 local attribute_lookup = lookup_table(attributes); |
93 local attribute_lookup = lookup_table(attributes); |
91 |
94 |
92 function packet_methods:serialize_header(length) |
95 function packet_methods:serialize_header(length) |
93 assert(#self.transaction_id == 12, "invalid transaction id length"); |
96 assert(#self.transaction_id == 12, "invalid transaction id length"); |