netgroup / p4-srv6

Apache License 2.0
15 stars 7 forks source link

Project no longer uses clone3() #3

Open davidcc73 opened 6 months ago

davidcc73 commented 6 months ago

clone3() has been deprecated, this commit removes it and replaces it, so now the project can run in newer P4c versions. Now makefile uses new docker syntax.

Also fixed a problem that made the Routing Tables Setup Fail, more details can be seen here: https://github.com/netgroup/p4-srv6/issues/2#issue-2130581149

At the end of define.p4, there are duplicated values that can be deleted and the use of those variables can also be easily replaced by values that are already defined on that file.