public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Marek Lindner <mareklindner@neomailbox.ch>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Simon Wunderlich <simon@open-mesh.com>
Subject: Re: [B.A.T.M.A.N.] [PATCH-next v3 1/2] batctl: check for batman interface
Date: Thu, 13 Mar 2014 03:25:52 +0800	[thread overview]
Message-ID: <2119609.ziFXCXahWC@diderot> (raw)
In-Reply-To: <1394640288-1611-1-git-send-email-sw@simonwunderlich.de>

[-- Attachment #1: Type: text/plain, Size: 1103 bytes --]

On Wednesday 12 March 2014 17:04:47 Simon Wunderlich wrote:
> From: Simon Wunderlich <simon@open-mesh.com>
> 
> Check if the interface supplied by -m (or bat0 by default) is actually a
> batman interface. The check is performed by testing if the sysfs path
> is available.
> 
> This change is required since debugfs now contains originator tables per
> hard interface. This might be confusing for users as batctl -m eth0 o
> will now (accidently) print these tables without eth0 beeing a batman
> interface, assuming eth0 is a hard interface used by batman-adv.
> 
> Some reordering of commands were required to first allow commands which
> don't depend on a (correctly set up) mesh interface, like bisect or
> interface.
> 
> Signed-off-by: Simon Wunderlich <simon@open-mesh.com>
> ---
> Changes to PATCHv2:
> 
>  * fix VLAN check, this is now similar to the sysfs handling code
> ---
>  main.c |   32 +++++++++++++++++---------------
>  sys.c  |   30 ++++++++++++++++++++++++++++++
>  sys.h  |    1 +
>  3 files changed, 48 insertions(+), 15 deletions(-)

Applied in revision da65d62.

Thanks,
Marek


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

      parent reply	other threads:[~2014-03-12 19:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-12 16:04 [B.A.T.M.A.N.] [PATCH-next v3 1/2] batctl: check for batman interface Simon Wunderlich
2014-03-12 16:04 ` [B.A.T.M.A.N.] [PATCH-next v3 2/2] batctl: add option for multiif orig table Simon Wunderlich
2014-03-12 19:26   ` Marek Lindner
2014-03-12 19:25 ` Marek Lindner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2119609.ziFXCXahWC@diderot \
    --to=mareklindner@neomailbox.ch \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=simon@open-mesh.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox