Getting F40 avahi (bonjour) to send the right interface's address

I just upgraded a laptop to Fedora 40 and the behavior of avahi has changed. The laptop has two interfaces, thus two ip addresses, and port forwarding is disabled. Avahi is advertising interface 2’s address on interface 1, for example:

2: enp2s0: ....
    inet 10.21.75.107/29 ....
3: wlp1s0: ....
    inet 192.168.4.126/22 ....

The ethernet interface enp2s0’s ip address is being advertised on the wireless interface wlp1s0, even though I have deny-interfaces=enp2s0
in my avahi-daemon.conf file.

Is this a bug or a feature?

I can just edit /etc/avahi/hosts I guess, but that would be wrong.