From patchwork Wed Sep 30 00:54:10 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Qmxhw4XCviBCYcOEwo1uaWs=?= X-Patchwork-Id: 50643 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8U0sEbp029717 for ; Wed, 30 Sep 2009 00:54:14 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752504AbZI3AyI (ORCPT ); Tue, 29 Sep 2009 20:54:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752212AbZI3AyI (ORCPT ); Tue, 29 Sep 2009 20:54:08 -0400 Received: from ey-out-2122.google.com ([74.125.78.24]:46620 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752047AbZI3AyH (ORCPT ); Tue, 29 Sep 2009 20:54:07 -0400 Received: by ey-out-2122.google.com with SMTP id 4so393562eyf.19 for ; Tue, 29 Sep 2009 17:54:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=53K4kJh7DfCJVClxlnBedsp3pEKqRqnh2aJ8tMNRkkY=; b=H1CDUPcFgWv8azwTNFUwMFtND/b7g7Yi1wQuqo1TnDvJwJKgczQXtlsH5ocXPMvQc5 bUdpmVqmxYrlafvHZ+elmIyW465i59Hj459LazNdn2h2zgRX5Y81tF6MLGMO6Ulb/IzQ JlHZBqyVBL3iYezmsFT5JxH7UaJCqOIt0jbFo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pmtAcdB9a7zSqpa8gv//LWcSjbmftJla6CKUgriV0xftEl8nYuxGw367DB/MJqDXW8 6Nz3dZYnTTR7TETwKHLj4H0Lew4qnon8rdkj+vYArglHuq+yEJm81ZI4lzxO+CxqRhm1 A16+HG98nFsskyDzXciZeukmHpl9ETj1ZUoFo= MIME-Version: 1.0 Received: by 10.216.91.73 with SMTP id g51mr1240687wef.68.1254272050596; Tue, 29 Sep 2009 17:54:10 -0700 (PDT) Date: Wed, 30 Sep 2009 02:54:10 +0200 Message-ID: <57b62e7d0909291754x352ae254sa33ee7efb430d497@mail.gmail.com> Subject: VLAN traffic appearing on the wrong iface From: =?UTF-8?B?Qmxhxb4gQmHEjW5paw==?= To: linux-wireless@vger.kernel.org Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --- hostapd-0.6.9/hostapd/ieee802_11.c 2009-07-05 18:24:47.000000000 +0200 +++ hostapd-new/hostapd/ieee802_11.c 2009-09-30 02:16:56.000000000 +0200 @@ -583,11 +583,11 @@ goto fail; } if (vlan_id > 0) { if (hostapd_get_vlan_id_ifname(hapd->conf->vlan, - sta->vlan_id) == NULL) { + vlan_id) == NULL) { hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_RADIUS, HOSTAPD_LEVEL_INFO, "Invalid VLAN ID " "%d received from RADIUS server", vlan_id); resp = WLAN_STATUS_UNSPECIFIED_FAILURE;