On Tue, Sep 28, 2021 at 02:41:57PM +0200, Daniel wrote: > Le 28/09/2021 à 13:05, Daniel a écrit : [...] > everything is fine. But if I call the map like > > sudo nft add rule ip nat prerouting meta l4proto { tcp, udp } dnat to ip > daddr . th dport map @fwdtoip_th > > I get > > Error: datatype mismatch: expected IPv4 address, expression has type > concatenation of (IPv4 address, internet network service) > add rule ip nat prerouting meta l4proto { tcp, udp } dnat to ip daddr . th > dport map @fwdtoip_th > > Expression recognize that map is a concatenation but not that the "to ip > daddr . th dport" should also be treated as concatenation Fix: https://patchwork.ozlabs.org/project/netfilter-devel/patch/20210928205543.368551-1-pablo@xxxxxxxxxxxxx/