Skip to content

Commit

Permalink
Fix typo in README
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Nov 7, 2023
1 parent a13cc57 commit 2c987b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Homework/lookup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ in6_addr len_to_mask(int len) {
可以看到这个输入数据中,前两行输入构造了这样的一个路由表:
```text
fd00::0102:0300/120 via if9 nexthop fe80::c0a8:0302
fd00::0102:0304/128 via if10 nexthop fe80::c0a8:0901
fd00::0102:0300/120 via if9 nexthop fd00::c0a8:0302
fd00::0102:0304/128 via if10 nexthop fd00::c0a8:0901
```

前三次查询分别查到了第二条、第一条、查不到;删除掉路由表第二条以后,前两次查询匹配到第一条,第三次查不到;路由表删光以后,三次都查不到。
Expand All @@ -79,3 +79,4 @@ fd00::0102:0304/128 via if10 nexthop fe80::c0a8:0901
以下同学对本题目做出了贡献:

- 计 16 张庆林
- 经 12 - 计 18 李子轩
4 changes: 2 additions & 2 deletions Homework/lookup/README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ See *lookup_input4.txt* and *lookup_answer4.txt* in the data directory.
You can see that the first two lines of input data construct a routing table like this.
```text
fd00::0102:0300/120 via if9 nexthop fe80::c0a8:0302
fd00::0102:0304/128 via if10 nexthop fe80::c0a8:0901
fd00::0102:0300/120 via if9 nexthop fd00::c0a8:0302
fd00::0102:0304/128 via if10 nexthop fd00::c0a8:0901
```

The first three queries matched the second, the first, and could not be found; after deleting the second entry of the routing table, the first two queries matched the first entry, and the third could not be found; after the routing table was deleted, all three could not be found.

0 comments on commit 2c987b9

Please sign in to comment.