mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-11-23 09:12:14 +01:00
Merge pull request #505 from Anito23/master
Change serialize_path to serialize_path_dynamic
This commit is contained in:
commit
1e9f52cac9
@ -113,7 +113,7 @@ class GrpcClient {
|
||||
int path_attributes_cap;
|
||||
*/
|
||||
|
||||
path* path_c_struct = serialize_path(ipv4_flow_spec_route_family, (char*)"match destination 10.0.0.0/24 protocol tcp source 20.0.0.0/24 then redirect 10:10");
|
||||
path* path_c_struct = serialize_path_dynamic(ipv4_flow_spec_route_family, (char*)"match destination 10.0.0.0/24 protocol tcp source 20.0.0.0/24 then redirect 10:10");
|
||||
|
||||
// printf("Decoded NLRI output: %s, length %d raw string length: %d\n", decode_path(path_c_struct), path_c_struct->nlri.len, strlen(path_c_struct->nlri.value));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user