X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fodhcpd.git;a=blobdiff_plain;f=src%2Fndp.c;h=8ecc79b6031af2f2d69698907e07bc5775d1f5d6;hp=ec990ed5dff89006cfd1d50dcca3351616431e7f;hb=47fe122d19c0485ec398b19d223bbaa2f45b32d3;hpb=bea088b6afe84d06552880778dc791cad97d4aec diff --git a/src/ndp.c b/src/ndp.c index ec990ed..8ecc79b 100644 --- a/src/ndp.c +++ b/src/ndp.c @@ -341,6 +341,9 @@ static void check_addr_updates(struct interface *iface) free(iface->addr4); iface->addr4 = addr; iface->addr4_len = len; + + if (change) + dhcpv4_addr_update(iface); } // Check v6 address update