Re: bug or feature?
On Mon, Dec 13, 2010 at 11:00:25AM +0100, Ondrej Zajicek wrote: On Fri, Dec 10, 2010 at 06:03:47PM +0100, Arnold Nipper wrote: So, what is the conclusion? This is a OS/shell problem, not a BIRD problem. Given so, is there anyone who is able to explain, what actually happens? I have never ever seen, that / irritates any program. Otoh I'm an absolute OS/shell novice ... I am not sure yet. On all my testing systems it worked OK. Now i finally found one that shows this behavior so i will test it. It was a silly bug in birdc. You can fix it by attached patch (affect only birdc binary, no need to restart bird). -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) To err is human -- to blame it on a computer is even more so. diff --git a/client/client.c b/client/client.c index 9acabf2..7f9e0ef 100644 --- a/client/client.c +++ b/client/client.c @@ -96,6 +96,7 @@ parse_args(int argc, char **argv) tmp += strlen(tmp); *tmp++ = ' '; } + tmp[-1] = 0; once = 1; } signature.asc Description: Digital signature
Re: bug or feature?
On Wed, Dec 01, 2010 at 01:58:21AM +0100, Arnold Nipper wrote: On 30.11.2010 10:49 Ondrej Zajicek wrote On Tue, Nov 30, 2010 at 10:36:22AM +0100, Arnold Nipper wrote: birdc show route 65.52.0.0/15 BIRD 1.2.2 ready. IP address expected Perhaps a probem caused by a shell? Try: birdc show route '65.52.0.0/15' birdc show route '65.52.0.0/15' BIRD 1.2.2 ready. IP address expected Interesting. It works for me: # birdc show route 192.168.1.0/24 BIRD 1.2.2 ready. 192.168.1.0/24 via 81.92.145.67 on eth5 [ospf1 2010-11-30] * I (150/10) [192.168.1.1] # birdc show route 65.52.0.0/15 BIRD 1.2.2 ready. Network not in table Does the problem appear if you try different networks, or it is just for 65.52.0.0/15? -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) To err is human -- to blame it on a computer is even more so. signature.asc Description: Digital signature
Re: bug or feature?
On Wed, Dec 01, 2010 at 10:05:10AM +, Matthew Walster wrote: On 1 December 2010 00:58, Arnold Nipper arn...@nipper.de wrote: birdc show route '65.52.0.0/15' BIRD 1.2.2 ready. IP address expected Try: birdc show route 65.52.0.0/15 i.e. don't use the apostrophes either side of the prefix. Works here. Apostrophes in birdc arguments should be OK because they are processed by UNIX shell. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) To err is human -- to blame it on a computer is even more so. signature.asc Description: Digital signature
Re: bug or feature?
Apostrophes in birdc arguments should be OK because they are processed by UNIX shell. Same here: # bash r...@zwrotnica:~# birdc show route 65.52.0.0/16 BIRD 1.2.5 ready. IP address expected r...@zwrotnica:~# birdc show route 65.52.0.0\/16 BIRD 1.2.5 ready. IP address expected r...@zwrotnica:~# dash # birdc show route 65.52.0.0\/16 BIRD 1.2.5 ready. IP address expected # birdc show route 65.52.0.0/16 BIRD 1.2.5 ready. IP address expected ii dash 0.5.5.1-7.2POSIX-compliant shell ii bash 4.1-3 The GNU Bourne Again SHell GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu) Regards. -- . Przemyslaw Stanislaw Knycz, xmpp:djrz...@kol.net.pl . | Wireless IT specialist --- Mobile : +48 601391681 | | KIKE Founder Member [GRAP] -- http://www.kike.pl/ | `- Futurama -- you can't prove it won't happen -'
Re: bug or feature?
Wiadomość napisana przez Przemysław Knycz w dniu 2010-12-01, o godz. 14:07: Apostrophes in birdc arguments should be OK because they are processed by UNIX shell. Same here: # bash r...@zwrotnica:~# birdc show route 65.52.0.0/16 BIRD 1.2.5 ready. IP address expected r...@zwrotnica:~# birdc show route 65.52.0.0\/16 BIRD 1.2.5 ready. IP address expected r...@zwrotnica:~# dash # birdc show route 65.52.0.0\/16 BIRD 1.2.5 ready. IP address expected # birdc show route 65.52.0.0/16 BIRD 1.2.5 ready. IP address expected ii dash 0.5.5.1-7.2POSIX-compliant shell ii bash 4.1-3 The GNU Bourne Again SHell GNU bash, version 4.1.5(1)-release (x86_64-pc-linux-gnu) waw-rs1# uname -a FreeBSD waw-rs1 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Sun Oct 17 08:50:44 CEST 2010 r...@waw-rs1:/usr/obj/usr/src/sys/PLIX amd64 waw-rs1# birdc show route 65.52.0.0/16 BIRD 1.2.5 ready. Network not in table waw-rs1# bash [r...@waw-rs1 ~]# birdc show route 65.52.0.0/16 BIRD 1.2.5 ready. Network not in table FreeBSD :-))) -- Paweł Nastachowski p.nastachow...@plix.pl PLIX Sp. z o.o., http://www.plix.pl/ Al. Jerozolimskie 65/79, 00-697 Warszawa KRS: 295130, Sąd Rejonowy dla m.st. Warszawy, XIII Wydz. Gosp. Kapitał zakładowy: 300.000,00zł, NIP: PL7010109699
bug or feature?
birdc show route 65.52.0.0/15 BIRD 1.2.2 ready. IP address expected birdc BIRD 1.2.2 ready. bird show route 65.52.0.0/15 Network not in table -- Arnold Nipper / nIPper consulting, Sandhausen, Germany email: arn...@nipper.de phone: +49 6224 9259 299 mobile: +49 152 53717690 fax: +49 6224 9259 333 signature.asc Description: OpenPGP digital signature
Re: bug or feature?
On Tue, Nov 30, 2010 at 10:36:22AM +0100, Arnold Nipper wrote: birdc show route 65.52.0.0/15 BIRD 1.2.2 ready. IP address expected Perhaps a probem caused by a shell? Try: birdc show route '65.52.0.0/15' -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santi...@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) To err is human -- to blame it on a computer is even more so. signature.asc Description: Digital signature
Re: bug or feature?
On 30.11.2010 10:49 Ondrej Zajicek wrote On Tue, Nov 30, 2010 at 10:36:22AM +0100, Arnold Nipper wrote: birdc show route 65.52.0.0/15 BIRD 1.2.2 ready. IP address expected Perhaps a probem caused by a shell? Try: birdc show route '65.52.0.0/15' birdc show route '65.52.0.0/15' BIRD 1.2.2 ready. IP address expected Arnold -- Arnold Nipper / nIPper consulting, Sandhausen, Germany email: arn...@nipper.de phone: +49 6224 9259 299 mobile: +49 152 53717690 fax: +49 6224 9259 333 signature.asc Description: OpenPGP digital signature