ramm 0.0.27 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ramm.js +1 -4
- package/package.json +1 -1
package/dist/ramm.js
CHANGED
|
@@ -247,10 +247,7 @@ var createNftTable = ({ allowedIpV4 }) => {
|
|
|
247
247
|
var setupNftable = async ({
|
|
248
248
|
allowedIpV4
|
|
249
249
|
}) => {
|
|
250
|
-
|
|
251
|
-
if (listTable.spawnResult.exitCode === 0) {
|
|
252
|
-
await execCommand("nft delete table inet ramm");
|
|
253
|
-
}
|
|
250
|
+
await execCommand("nft flush ruleset");
|
|
254
251
|
const nftTable = createNftTable({ allowedIpV4 });
|
|
255
252
|
await execCommand(`nft -f - <<EOF
|
|
256
253
|
${nftTable}
|
package/package.json
CHANGED