From 4bb9d26c6d4c475b095d944c3154ff4f0f92a205 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 7 Nov 2020 13:45:07 +0100 Subject: T2653: migrate "ip" and "ipv6" interface options to generic includes This reduces duplicated #include statements as each interface type already contained the individual includes. --- .../include/interface-ipv4-options.xml.i | 17 +++++++++++++++++ interface-definitions/include/interface-ipv4.xml.i | 14 -------------- .../include/interface-ipv6-options.xml.i | 12 ++++++++++++ interface-definitions/include/interface-ipv6.xml.i | 12 ------------ 4 files changed, 29 insertions(+), 26 deletions(-) create mode 100644 interface-definitions/include/interface-ipv4-options.xml.i delete mode 100644 interface-definitions/include/interface-ipv4.xml.i create mode 100644 interface-definitions/include/interface-ipv6-options.xml.i delete mode 100644 interface-definitions/include/interface-ipv6.xml.i (limited to 'interface-definitions/include') diff --git a/interface-definitions/include/interface-ipv4-options.xml.i b/interface-definitions/include/interface-ipv4-options.xml.i new file mode 100644 index 000000000..416e1adf5 --- /dev/null +++ b/interface-definitions/include/interface-ipv4-options.xml.i @@ -0,0 +1,17 @@ + + + + IPv4 routing parameters + + + #include + #include + #include + #include + #include + #include + #include + #include + + + diff --git a/interface-definitions/include/interface-ipv4.xml.i b/interface-definitions/include/interface-ipv4.xml.i deleted file mode 100644 index 66842ab9b..000000000 --- a/interface-definitions/include/interface-ipv4.xml.i +++ /dev/null @@ -1,14 +0,0 @@ - - - - IPv4 routing parameters - - - #include - #include - #include - #include - #include - - - diff --git a/interface-definitions/include/interface-ipv6-options.xml.i b/interface-definitions/include/interface-ipv6-options.xml.i new file mode 100644 index 000000000..a94c6572b --- /dev/null +++ b/interface-definitions/include/interface-ipv6-options.xml.i @@ -0,0 +1,12 @@ + + + + IPv6 routing parameters + + + #include + #include + #include + + + diff --git a/interface-definitions/include/interface-ipv6.xml.i b/interface-definitions/include/interface-ipv6.xml.i deleted file mode 100644 index c9299890b..000000000 --- a/interface-definitions/include/interface-ipv6.xml.i +++ /dev/null @@ -1,12 +0,0 @@ - - - - IPv6 routing parameters - - - #include - #include - #include - - - -- cgit v1.2.3