On Fri, May 06, 2016 at 06:21:00AM -0600, Duncan Patton a Campbell wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On Fri, 06 May 2016 12:06:58 +0100 > Mark Carroll <m...@ixod.org> wrote: > > > On 06 May 2016, Duncan Patton a. Campbell wrote: > > > > > Is there any similar tag to access the addess assigned by dhcp? > > > What other mechanisms exist to update dynamic dns assignments? > > > > Could ifstated(8) help here? I've separately wondered if I ought to be > > using it to kick pf because it otherwise doesn't realize that 'self' > > includes the address eventually assigned by PPP. > > > > -- Mark > > > > Yes. Looking at the man page this might be a way to do what I want. > ...just need to sort out the macro language in man ifstated.conf ;^)
ifstated looks at the physical link of an interface. In ifconfig output this is the line starting with status. This state does not change when a new address is assigned to an interface. Remi