diff options
| author | xebd <xeb@mail.ru> | 2021-03-17 11:30:45 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-17 11:30:45 +0300 |
| commit | 02ee3cf8abebec16bf9106426e095495144c3d2f (patch) | |
| tree | d871c149812c68b7ceee591f6bb265f4ad643414 /accel-pppd/ctrl/ipoe | |
| parent | 49ef6cf969f662c44f4be2b82b101273c8c6de71 (diff) | |
| parent | 2785d81ec848ebb920c8a612b4eae7876a619a18 (diff) | |
| download | accel-ppp-02ee3cf8abebec16bf9106426e095495144c3d2f.tar.gz accel-ppp-02ee3cf8abebec16bf9106426e095495144c3d2f.zip | |
Merge pull request #153 from anphsw/master
Some bugfixes found by cppcheck
Diffstat (limited to 'accel-pppd/ctrl/ipoe')
| -rw-r--r-- | accel-pppd/ctrl/ipoe/ipoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c index d91596ae..0649e9c8 100644 --- a/accel-pppd/ctrl/ipoe/ipoe.c +++ b/accel-pppd/ctrl/ipoe/ipoe.c @@ -4051,7 +4051,7 @@ static void load_config(void) opt = conf_get_opt("ipoe", "check-ip"); if (!opt) opt = conf_get_opt("common", "check-ip"); - if (opt && opt >= 0) + if (opt) conf_check_exists = atoi(opt) > 0; #ifdef RADIUS |
