OCaml 4.14.0 rebuild
[arch-packages.git] / iptables / trunk / iptables-apply-default-path.patch
blob84089e0978d58753121ac985fc66339150afc9da
1 --- iptables/iptables-apply.8.in.orig 2022-07-25 17:12:06.833791345 +0300
2 +++ iptables/iptables-apply.8.in 2022-07-25 17:13:35.780742653 +0300
3 @@ -21,11 +21,11 @@
4 Successfully applied rules can also be written to savefile and later used
5 to roll back to this state. This can be used to implement a store last good
6 configuration mechanism when experimenting with an iptables setup script:
7 -iptables-apply \-w /etc/network/iptables.up.rules \-c /etc/network/iptables.up.run
8 +iptables-apply \-w /etc/iptables/iptables.rules \-c /etc/iptables/iptables.run
9 .PP
10 When called as ip6tables\-apply, the script will use
11 ip6tables\-save/\-restore and IPv6 default values instead. Default
12 -value for rulesfile is '/etc/network/iptables.up.rules'.
13 +value for rulesfile is '/etc/iptables/iptables.rules'.
14 .SH OPTIONS
15 .TP
16 \fB\-t\fP \fIseconds\fR, \fB\-\-timeout\fP \fIseconds\fR
17 @@ -34,11 +34,11 @@
18 .TP
19 \fB\-w\fP \fIsavefile\fR, \fB\-\-write\fP \fIsavefile\fR
20 Specify the savefile where successfully applied rules will be written to
21 -(default if empty string is given: /etc/network/iptables.up.rules).
22 +(default if empty string is given: /etc/iptables/iptables.rules).
23 .TP
24 \fB\-c\fP \fIruncmd\fR, \fB\-\-command\fP \fIruncmd\fR
25 Run command runcmd to configure iptables instead of applying a rulesfile
26 -(default: /etc/network/iptables.up.run).
27 +(default: /etc/iptables/iptables.run).
28 .TP
29 \fB\-h\fP, \fB\-\-help\fP
30 Display usage information.
31 --- iptables/iptables-apply.orig 2022-07-25 17:12:11.713806961 +0300
32 +++ iptables/iptables-apply 2022-07-25 17:12:34.573880116 +0300
33 @@ -31,16 +31,16 @@
34 (*6*)
35 SAVE=ip6tables-save
36 RESTORE=ip6tables-restore
37 - DEF_RULESFILE="/etc/network/ip6tables.up.rules"
38 + DEF_RULESFILE="/etc/iptables/ip6tables.rules"
39 DEF_SAVEFILE="$DEF_RULESFILE"
40 - DEF_RUNCMD="/etc/network/ip6tables.up.run"
41 + DEF_RUNCMD="/etc/iptables/ip6tables.run"
43 (*)
44 SAVE=iptables-save
45 RESTORE=iptables-restore
46 - DEF_RULESFILE="/etc/network/iptables.up.rules"
47 + DEF_RULESFILE="/etc/iptables/iptables.rules"
48 DEF_SAVEFILE="$DEF_RULESFILE"
49 - DEF_RUNCMD="/etc/network/iptables.up.run"
50 + DEF_RUNCMD="/etc/iptables/iptables.run"
52 esac