f-88: fip: face publique, traduction et routage par source sur l'hôte #88

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2026-10-29 21:32:29 +01:00
commit 81686de6d6
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
8 changed files with 538 additions and 18 deletions

View file

@ -7,10 +7,10 @@ import (
"net"
)
func RuleAddFrom(_ net.IP, _, _ int, _ bool) error {
func RuleAddFrom(_ net.IP, _ *net.IPNet, _, _ int) error {
return errors.New("not supported on this platform")
}
func RuleDelFromIfExists(_ net.IP, _, _ int, _ bool) error {
func RuleDelFromIfExists(_ net.IP, _ *net.IPNet, _, _ int) error {
return errors.New("not supported on this platform")
}