Skip to content

Commit

Permalink
iptables: add ip{,6}tables-legacy{,-restore,-save} symlinks
Browse files Browse the repository at this point in the history
Now that we can have both legacy and nft iptables variants
installed at the same time, install the legacy symlinks

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
  • Loading branch information
champtar authored and hauke committed Feb 2, 2022
1 parent 3a5df36 commit 0e32c6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package/network/utils/iptables/Makefile
Expand Up @@ -614,6 +614,7 @@ endef
define Package/iptables/install
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/xtables-legacy-multi $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/iptables-legacy{,-restore,-save} $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/usr/lib/iptables
endef

Expand All @@ -626,6 +627,7 @@ endef

define Package/ip6tables/install
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/ip6tables-legacy{,-restore,-save} $(1)/usr/sbin/
endef

define Package/ip6tables-nft/install
Expand Down

0 comments on commit 0e32c6b

Please sign in to comment.