- 论坛徽章:
- 0
|
本帖最后由 upyzl 于 2012-04-04 18:27 编辑
首先放上我的改动(diff源代码)
http://pastebin.com/2iFJqHFd
之后运行 make clean && ./configure && make && make install 没有提示任何error或者warning
但是运行 radvd -c 就提示- radvd: syntax error in /etc/radvd.conf, line 16: tele
- radvd: error parsing or activating the config file: /etc/radvd.conf
- radvd: Exiting, failed to read config file.
复制代码 radvd.conf内容如下- interface eth1
- {
- AdvSendAdvert on;
- MinRtrAdvInterval 60;
- MaxRtrAdvInterval 600;
- prefix 2001:da8:202:102::/64
- {
- AdvOnLink on;
- AdvAutonomous on;
- AdvRouterAddr on;
- AdvValidLifetime 65535;
- AdvPreferredLifetime 32767;
- };
- tele 2001:da0:ffff::/48
- {
- AdvTeleFlag on;
- AdvTeleLifetime 50000;
- };
- };
复制代码 求教
edit:知道问题所在了,词法分析的问题
|
|