1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Rename IPv6::add_ext_header to IPv6::add_header (deprecate former)

This commit is contained in:
Matias Fontanini
2017-05-14 10:33:04 -07:00
parent 5404e9f004
commit d8ead95070
3 changed files with 40 additions and 3 deletions

View File

@@ -349,7 +349,7 @@ TEST_F(IPv6Test, OptionAddition) {
EthernetII pkt(routing_header, sizeof(routing_header));
IPv6& ipv6 = pkt.rfind_pdu<IPv6>();
// Add a dummy header
ipv6.add_ext_header(IPv6::ext_header(IPv6::AUTHENTICATION));
ipv6.add_header(IPv6::ext_header(IPv6::AUTHENTICATION));
const IPv6::headers_type& headers = ipv6.headers();