[PATCH reminder] correct inverted logic from commit f3ba8a

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Alexander Huemer alexander.huemer at xx.vu
Wed Jul 11 08:45:58 UTC 2012


On Wed, Jul 04, 2012 at 11:31:54AM +0200, Alexander Huemer wrote:
> ---
>  src/vty/vty.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/vty/vty.c b/src/vty/vty.c
> index 67ee100..e529ee7 100644
> --- a/src/vty/vty.c
> +++ b/src/vty/vty.c
> @@ -1650,7 +1650,7 @@ static int vty_config_write(struct vty *vty)
>  	vty_out(vty, "line vty%s", VTY_NEWLINE);
>  
>  	/* login */
> -	if (password_check)
> +	if (!password_check)
>  		vty_out(vty, " no login%s", VTY_NEWLINE);
>  
>  	vty_out(vty, "!%s", VTY_NEWLINE);
> -- 
> 1.7.2.5
> 
Since a week has past since I submitted this patch and it was not yet
merged, here a short reminder. The problem was btw discussed with Diego
Elio Pettenò, the author of the pristine commit.

Kind regards,
-Alexander Huemer




More information about the OpenBSC mailing list