diff options
| author | Kozlov Dmitry <dima@server> | 2011-08-23 18:02:22 +0400 |
|---|---|---|
| committer | Kozlov Dmitry <dima@server> | 2011-08-23 18:02:22 +0400 |
| commit | 9bc3fa4216fb2ad043232584b5a5e134e64830ed (patch) | |
| tree | 910b5a0809a272d8525ff1ed2c1265b7f7d53c3d /accel-pppd/cli/std_cmd.c | |
| parent | e281cbf20eb2e8f36ef5037e138fdf3798f1897d (diff) | |
| download | accel-ppp-9bc3fa4216fb2ad043232584b5a5e134e64830ed.tar.gz accel-ppp-9bc3fa4216fb2ad043232584b5a5e134e64830ed.zip | |
ppp: ipv6: multiple prefixes, route option, rdnss option implementation
Diffstat (limited to 'accel-pppd/cli/std_cmd.c')
| -rw-r--r-- | accel-pppd/cli/std_cmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/cli/std_cmd.c b/accel-pppd/cli/std_cmd.c index 1c8e149..24e5228 100644 --- a/accel-pppd/cli/std_cmd.c +++ b/accel-pppd/cli/std_cmd.c @@ -9,6 +9,7 @@ #include "triton.h" #include "events.h" #include "ppp.h" +#include "ipdb.h" #include "cli.h" #include "utils.h" #include "log.h" @@ -166,7 +167,7 @@ static int terminate_exec2(int key, char * const *f, int f_cnt, void *cli) continue; break; case 1: - if (ppp->peer_ipaddr != ipaddr) + if (ppp->ipv4 && ppp->ipv4->peer_addr != ipaddr) continue; break; case 2: |
