Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 2015 23:34:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 198571] net-mgmt/lldpd: runtime issues when using lldpd_flags
Message-ID:  <bug-198571-13-OrcHa0lTKw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-198571-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-198571-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198571

--- Comment #3 from jason.unovitch@gmail.com ---
(In reply to mathieu.sim from comment #2)

To answer your part of you question, after removing the rc.d script's
duplication of the -I flag, here's what I see.  The results are from setting
the flags shown, doing a 'service lldpd restart', and showing only the
interface/transmitted lines of 'lldpcli show stat' for brevity.  I am trusting
the lldpcli output and haven't checked with tcpdump as you mentioned just yet. 
I'll check that later on and get back with you.

** Explicitly setting an interface ensures only that is used **
lldpd_flags="-I em0"

LLDP statistics:
Interface:    em0
  Transmitted:  1

** Explicitly blacklisting an interface but not using a wildcard results in no
interfaces being used **
lldpd_flags="-I !em3"

LLDP statistics:
(no interfaces are shown)

** Using a wildcard and blacklisting an interface results in everything but
that interface being used **

lldpd_flags="-I *,!em3"
LLDP statistics:
Interface:    em0
  Transmitted:  1
Interface:    em1
  Transmitted:  1
Interface:    em2
  Transmitted:  1
Interface:    wlan0
  Transmitted:  1

** Not using -I results in all interfaces being used **
lldpd_flags=""

LLDP statistics:
Interface:    em0
  Transmitted:  1
Interface:    em1
  Transmitted:  1
Interface:    em2
  Transmitted:  1
Interface:    em3
  Transmitted:  1
Interface:    wlan0
  Transmitted:  1

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198571-13-OrcHa0lTKw>