From owner-freebsd-net@FreeBSD.ORG Mon Nov 16 15:07:00 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6130C106568F for ; Mon, 16 Nov 2009 15:07:00 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 9ACEF8FC12 for ; Mon, 16 Nov 2009 15:06:59 +0000 (UTC) Received: by fxm27 with SMTP id 27so6101862fxm.3 for ; Mon, 16 Nov 2009 07:06:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=UvkVJFDNMaoTNvQBinG3SclmvlEGV1gA3xiPObf1J7w=; b=Zrh4veeaVL58wcr0UKsvKIdxD0zez90bTLlR+Db6J5TC9NPFIMmksenhL7Olso51Ud dxl0e+0SZrvfVFuNOgqJ8bsloyj4MAtPz7GSnrhN+Fcg7GnhItaSBHHBcPt7nfJiAIkA wnBzEeNml8o/lC8OuCfYnKccM+ZS1kbMMqb0s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=Afrl36NSMxuZR3sjYM+DLzp0bwFnOq7fQkiuJbiQwRO627hSL6x3Uo2DNzLumvPdW/ u89EtqVT6q1CZATLvep7mU+5Igej/N4CeixLeaqQLO9wL1C5Ggz+v+Lv83IupDr0cySO WBbgKbq9hfRvjRJmsLukuE5h6w1LDlItrD7h4= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.6.137 with SMTP id 9mr1211859faz.60.1258384018561; Mon, 16 Nov 2009 07:06:58 -0800 (PST) Date: Mon, 16 Nov 2009 16:06:58 +0100 X-Google-Sender-Auth: 183a371007b0226d Message-ID: <3bbf2fe10911160706y9fb30e6iedb599cb8a6e2743@mail.gmail.com> From: Attilio Rao To: freebsd-net@freebsd.org, pst@freebsd.org, stefanf@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Subject: [PATCH] libtacplus bugfix X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 15:07:00 -0000 [Please CC me as I'm not subscribed to -net@] In tac_get_av_value() empty attributes should be handled like 0-lenght strings while in the current code they are handled as unset attributes. This patch implements the (probabilly) desired semantic: http://www.freebsd.org/~attilio/Sandvine/STABLE_8/libtacplus/taclib.diff This patch has been contributed back by Sandvine Incorporated. Comments, reviews and testing are welcome. Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein