after Migrating from Vyatta


#1
eee@vyatta# set local-block odnoklassniki.ru
[edit service webproxy url-filtering squidguard]
eee@vyatta# commit
[ service webproxy ]
Use of uninitialized value in concatenation (.) or string at /opt/vyatta/sbin/vyatta-update-webproxy.pl line 1150.

#2

filed a bug report

http://bugzilla.vyos.net/show_bug.cgi?id=169


#3

File: /opt/vyatta/sbin/vyatta-update-webproxy.pl
Error: variable-declaration

sub squid_get_auth_settings {
    my $config = new Vyatta::Config;
    $config->setLevel("service webproxy authentication");

    my $output='';

To fix it just chage it back to:

sub squid_get_auth_settings {
    my $config = new Vyatta::Config;
    $config->setLevel("service webproxy authentication");

    my $output;

#4

Hi I have similar problem, when commit ( in simply config, lika a “set service webproxy listen address x.x.x.x” i got messages:

Variable my $output;

in vyatta-update-webproxy.pl look like correct

Any option ?

p.s I am using 1.0.2 version


#5

This error is fixed in the 1.0.3 version.
Please upgrade


#6

Thanks for answer. Indead in version 1.0.3 is working ok.