Re: cross-reference htobe64(3) in htonl(3)

2019-02-12 Thread Jason McIntyre
On Tue, Feb 12, 2019 at 04:46:30PM +0100, Tim Kuijsten wrote: > Found out about htobe64(3) after grepping through the source. > > -Tim morning. fixed, thanks. jmc > Index: htonl.3 > === > RCS file: /cvs/src/lib/libc/net/htonl.3,v >

Why both media and -mediaopt doesn't specify at the same time?

2019-02-12 Thread Masato Asou
Hi, When I execute `ifconfig media XX -mediaopt YY' command, it occured error as below. $ doas ifconfig em1 media 100baseTX -mediaopt full-duplex ifconfig: may not issue both `media' and `-mediaopt' $ echo $? 1 Does anyone knows this reason? I think following patch is works fine. $ cvs diff

make sbcreatecontrol take void * instead of caddr_t

2019-02-12 Thread David Gwynne
this makes it easier to call sbcreatecontrol without requiring casts. it makes the argument const as well, and promotes the length variable to size_t. ok? Index: sys/socketvar.h === RCS file: /cvs/src/sys/sys/socketvar.h,v

Re: futex(2) based pthread_rwlock*

2019-02-12 Thread Paul Irofti
On Wed, Jan 30, 2019 at 12:29:20PM -0200, Martin Pieuchot wrote: > On 28/01/19(Mon) 14:57, Martin Pieuchot wrote: > > Summer is really warm here. No need to make my machines hotter by > > spinning a lot. So here's a futex(2) based pthread_rwlock* > > implementation. I should look familiar to

Re: bgpd handle no peers a bit better

2019-02-12 Thread Sebastian Benoit
Claudio Jeker(cje...@diehard.n-r-g.com) on 2019.02.12 12:09:30 +0100: > For testing I was running bgpd with no neighbors defined. > In that case the peers pointer is NULL and so bgpctl is reporting suddenly > 'no such neighbor' which is confusing for something like 'bgpctl show rib'. > This is

cross-reference htobe64(3) in htonl(3)

2019-02-12 Thread Tim Kuijsten
Found out about htobe64(3) after grepping through the source. -Tim Index: htonl.3 === RCS file: /cvs/src/lib/libc/net/htonl.3,v retrieving revision 1.4 diff -u -p -u -r1.4 htonl.3 --- htonl.3 10 Mar 2016 08:42:26 - 1.4

bgpd, support wildcard matching on ext-community

2019-02-12 Thread Claudio Jeker
While it has been possible to do wildcard matching on communities and large communities for a long time, ext-communities did not offer this. The result is more complex rulesets when cleaning ext-communities. This diff allows the same use of '*' on ext-communities and also adds support for local-as

httpd(8): add support for FastCGI parameters

2019-02-12 Thread Paul Irofti
Hi, This patch adds support for FastCGI parameters. Grammar change is very simple. fastcgi param NAME VALUE Example: %-- server "default" { listen on $ext_addr port 80 location "/cgi-bin/*" {

Re: [PATCH] httpd: Write X-Forwarded-For to access.log

2019-02-12 Thread Mischa
> On 12 Feb 2019, at 14:52, Bruno Flueckiger wrote: > > On 12.11.18 12:40, Bruno Flueckiger wrote: >> On 11.11.18 18:43, Claudio Jeker wrote: >>> On Sun, Nov 11, 2018 at 06:32:53PM +0100, Bruno Flueckiger wrote: On 11.11.18 15:29, Florian Obser wrote: > On Sun, Nov 11, 2018 at

Re: [PATCH] httpd: Write X-Forwarded-For to access.log

2019-02-12 Thread Bruno Flueckiger
On 12.11.18 12:40, Bruno Flueckiger wrote: > On 11.11.18 18:43, Claudio Jeker wrote: > > On Sun, Nov 11, 2018 at 06:32:53PM +0100, Bruno Flueckiger wrote: > > > On 11.11.18 15:29, Florian Obser wrote: > > > > On Sun, Nov 11, 2018 at 01:46:06PM +0100, Sebastian Benoit wrote: > > > > > Bruno

bgpd handle no peers a bit better

2019-02-12 Thread Claudio Jeker
For testing I was running bgpd with no neighbors defined. In that case the peers pointer is NULL and so bgpctl is reporting suddenly 'no such neighbor' which is confusing for something like 'bgpctl show rib'. This is kind of a regression from adding group support in bgpctl. # bgpctl show rib