diff options
author | mks <mks@FreeBSD.org> | 2000-01-15 20:46:07 +0000 |
---|---|---|
committer | mks <mks@FreeBSD.org> | 2000-01-15 20:46:07 +0000 |
commit | c7afe93038634ff5f2d102d5c21fec1a1e0fe787 (patch) | |
tree | 735a7ddb1bab7602e6c3ec320b20541a2de1c799 /sys/netatm | |
parent | a7042ee1442add5f34d7b9cc4be522b8bcc7e0e5 (diff) | |
download | FreeBSD-src-c7afe93038634ff5f2d102d5c21fec1a1e0fe787.zip FreeBSD-src-c7afe93038634ff5f2d102d5c21fec1a1e0fe787.tar.gz |
Notice when an interface's ATM address changes when running a local arpserver.
Diffstat (limited to 'sys/netatm')
-rw-r--r-- | sys/netatm/uni/uniarp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/netatm/uni/uniarp.c b/sys/netatm/uni/uniarp.c index 7c23a01..a237278 100644 --- a/sys/netatm/uni/uniarp.c +++ b/sys/netatm/uni/uniarp.c @@ -372,6 +372,12 @@ uniarp_ifaddr(sip) * This is what we're waiting for */ uniarp_client_mode(uip, NULL); + } else if (uip->uip_arpstate == UIAS_SERVER_ACTIVE) { + /* + * Set new local arpserver atm address + */ + ATM_ADDR_SEL_COPY(&sip->si_addr, nip->nif_sel, + &uip->uip_arpsvratm); } } |