摘要:
解决办法: 做以下3个修改 1. /etc/sysctl.conf 文件中的 net.ipv4.conf.all.rp_filter 设置成0 2. sysctl -w net.ipv4.conf.all.rp_filter=0 3. echo "0">/proc/sys/net/ipv4/conf 阅读全文
摘要:
在test.c中写如下代码: 1 #include <stdio.h> 2 3 int main() 4 { 5 printf("line:%d\n", __LINE__); 6 return 0; 7 } 使用gcc编译 gcc -o test test.c 执行 ./test 结果 line:5 阅读全文