From owner-freebsd-hackers@FreeBSD.ORG Sat Dec 10 17:36:11 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AE2016A41F for ; Sat, 10 Dec 2005 17:36:11 +0000 (GMT) (envelope-from flag@longino.wired.org) Received: from mail.oltrelinux.com (krisma.oltrelinux.com [194.242.226.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8077343D80 for ; Sat, 10 Dec 2005 17:36:01 +0000 (GMT) (envelope-from flag@longino.wired.org) Received: from longino.wired.org (ip-79-218.sn1.eutelia.it [62.94.79.218]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.oltrelinux.com (Postfix) with ESMTP id 0BD8C11AE58 for ; Sat, 10 Dec 2005 18:36:00 +0100 (CET) Received: from longino.wired.org (localhost.wired.org [127.0.0.1]) by longino.wired.org (8.13.4/8.13.4) with ESMTP id jBAHZuer000870 for ; Sat, 10 Dec 2005 18:35:56 +0100 (CET) (envelope-from flag@longino.wired.org) Received: (from flag@localhost) by longino.wired.org (8.13.4/8.13.4/Submit) id jBAHZuAh000869 for freebsd-hackers@freebsd.org; Sat, 10 Dec 2005 18:35:56 +0100 (CET) (envelope-from flag) Date: Sat, 10 Dec 2005 18:35:56 +0100 From: Paolo Pisati To: FreeBSD_Hackers Message-ID: <20051210173556.GA820@tin.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at krisma.oltrelinux.com Subject: EVENTHANDLER and ifaddr_event X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Dec 2005 17:36:11 -0000 Hi hackers, i'm using EVENTHANDLER(ifaddr_event, ...) to monitor nic address change on FreeBSD 6.x. It's working fine but my callback function is called 2 times per address change, and i don't understand why. Is it the supposed behavior? Thanks -- Paolo