Codebase list iputils / fresh-snapshots/upstream
Import upstream version 20210202+git20210514.1.2917e0e Debian Janitor 2 years ago
12 changed file(s) with 148 addition(s) and 99 deletion(s). Raw diff Collapse all Expand all
+0
-10
.gitignore less more
0 *~
1 *.diff
2 *.orig
3 *.patch
4 *.rej
5 core
6 .gdb_history
7 .gdbinit
8 # Meson build
9 /builddir
00 ---
1 # Copyright (c) 2019-2020 Petr Vorel <pvorel@suse.cz>
1 # Copyright (c) 2019-2021 Petr Vorel <pvorel@suse.cz>
22
3 dist: bionic
34 sudo: required
45 language: c
56 services:
3031
3132 # glibc (gcc/clang)
3233 - os: linux
33 env: DISTRO=opensuse/tumbleweed
34 env: DISTRO=opensuse/tumbleweed CONTAINER=podman
3435 compiler: gcc
3536
3637 - os: linux
4647 compiler: gcc
4748
4849 - os: linux
49 env: DISTRO=fedora:latest
50 env: DISTRO=fedora:latest CONTAINER=podman
5051 compiler: clang
5152
5253 - os: linux
6667 compiler: clang
6768
6869 before_install:
70 - CONTAINER="${CONTAINER:-docker}"
71 # distros with glibc >=2.33 require podman and newest runc due docker faccessat2 incompatibility
72 - >
73 if [ "$CONTAINER" = "podman" ]; then
74 # podman
75 CONTAINER_ARGS="--runtime=/usr/bin/runc"
76 . /etc/os-release
77 sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list"
78 wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_${VERSION_ID}/Release.key -O- | sudo apt-key add -
79 sudo apt update
80 sudo apt -y install podman slirp4netns
81
82 # runc
83 sudo curl -L https://github.com/opencontainers/runc/releases/download/v1.0.0-rc93/runc.amd64 -o /usr/bin/runc
84 sudo chmod +x /usr/bin/runc
85 fi
6986 - DIR="/usr/src/iputils"
7087 - printf "FROM $DISTRO\nRUN mkdir -p $DIR\nWORKDIR $DIR\nCOPY . $DIR\n" > Dockerfile
7188 - echo "cat Dockerfile"; cat Dockerfile
72 - docker build -t iputils .
89 - $CONTAINER $CONTAINER_ARGS build -t iputils .
7390
7491 script:
7592 - INSTALL="${DISTRO%%:*}"
7693 - INSTALL="${INSTALL%%/*}"
7794 - DISTRO_VERSION="${DISTRO#*:}"
7895 - case $VARIANT in cross-compile*) BUILD="cross";; i386) BUILD="32";; *) BUILD="native";; esac
79 - docker run -it iputils /bin/sh -c "cd travis && DISTRO_VERSION=\"$DISTRO_VERSION\" ./$INSTALL.sh && if [ \"$VARIANT\" ]; then ARCH=\"$ARCH\" ./$INSTALL.$VARIANT.sh; fi && CC=$CC EXTRA_BUILD_OPTS=\"$EXTRA_BUILD_OPTS\" ../build.sh"
96 - $CONTAINER $CONTAINER_ARGS run -it iputils /bin/sh -c "cd travis && DISTRO_VERSION=\"$DISTRO_VERSION\" ./$INSTALL.sh && if [ \"$VARIANT\" ]; then ARCH=\"$ARCH\" ./$INSTALL.$VARIANT.sh; fi && CC=$CC EXTRA_BUILD_OPTS=\"$EXTRA_BUILD_OPTS\" ../build.sh"
3333
3434 Update CHANGES file. It should list the most notable changes and important or
3535 security related fixes. Create pull request with these changes to give people
36 chance to review and test upcomming release. Notify distro maintainers, ask
36 chance to review and test upcoming release. Notify distro maintainers, ask
3737 translators to update translations.
3838
3939 Create release commit and tag.
4141 tag="$(date +%Y%m%d)"
4242 sed --in-place "s/version : '.*')/version : '$tag')/" meson.build
4343 git add meson.build CHANGES
44 git commit --signoff --message "release: iputils-$tag"
44 git commit -S --signoff --message "release: iputils-$tag"
4545 git tag --sign --annotate $tag --message iputils-$tag
4646
4747 Check that the commit and tag looks ok.
5454 git push origin --tags
5555
5656 Go to github https://github.com/iputils/iputils/releases and paste the
57 the content of CHANGES file for upcomming release to the text box.
57 the content of CHANGES file for upcoming release to the text box.
5858 Add there also credit for all contributors:
5959
60 Many thanks to the people contributing to this release:
60 Many thanks to the people contributing to this release:
6161
62 git shortlog -s -n $tag..
62 git shortlog -s -n $tag..
6363
64 Also thanks to patch reviewers:
64 Also thanks to patch reviewers:
6565
66 git log $tag.. | grep -Ei '(reviewed|acked)-by:' | \
67 sed 's/.*by: //' | sort | uniq -c | sort -n -r
66 git log $tag.. | grep -Ei '(reviewed|acked)-by:' | \
67 sed 's/.*by: //' | sort | uniq -c | sort -n -r
6868
69 and testers:
69 and testers:
7070
71 git log $tag.. | grep -Ei 'tested-by:' | \
72 sed 's/.*by: //' | sort | uniq -c | sort -n -r
71 git log $tag.. | grep -Ei 'tested-by:' | \
72 sed 's/.*by: //' | sort | uniq -c | sort -n -r
7373
74 Choose the tag you just created. Download the release files and sign them.
74 Choose the tag you just created. Download the release files, compute sha256 hash:
7575
76 for file in iputils-$tag.{zip,tar.gz}; do gpg --sign --armor --detach-sign $file; done
76 wget -c https://github.com/iputils/iputils/archive/$tag.zip \
77 https://github.com/iputils/iputils/archive/$tag.tar.gz
7778
78 out="sha256sum"
79 for file in iputils-$tag.{zip,tar.gz}; do $out $file >> $out; done
80 gpg --clearsign $out
79 out="sha256sum"
80 for file in $tag.{zip,tar.gz}; do $out $file >> $out; done
8181
82 Upload these three .asc files to release as additional files.
82 Sign tarballs and sha256 hash:
83
84 for file in $tag.{zip,tar.gz}; do gpg --sign --armor --detach-sign $file; done
85 gpg --clearsign $out
86
87 and upload all these four files to the release as additional files.
8388
8489 The release should be ready. People tend to react to releases, so expect bug
8590 reports and pull requests after release. Assuming release has fatal flaw(s)
0 // SPDX-License-Identifier: GPL-2.0-or-later
1 /*
2 * Copyright (c) 2020 Petr Vorel <petr.vorel@gmail.com>
3 */
4
5 #ifndef IPV6_H
6 #define IPV6_H
7
8 /* Definitions from kernel include/net/ipv6.h */
9
10 /*
11 * NextHeader field of IPv6 header
12 */
13
14 #define NEXTHDR_HOP 0 /* Hop-by-hop option header. */
15 #define NEXTHDR_TCP 6 /* TCP segment. */
16 #define NEXTHDR_UDP 17 /* UDP message. */
17 #define NEXTHDR_IPV6 41 /* IPv6 in IPv6 */
18 #define NEXTHDR_ROUTING 43 /* Routing header. */
19 #define NEXTHDR_FRAGMENT 44 /* Fragmentation/reassembly header. */
20 #define NEXTHDR_GRE 47 /* GRE header. */
21 #define NEXTHDR_ESP 50 /* Encapsulating security payload. */
22 #define NEXTHDR_AUTH 51 /* Authentication header. */
23 #define NEXTHDR_ICMP 58 /* ICMP for IPv6. */
24 #define NEXTHDR_NONE 59 /* No next header */
25 #define NEXTHDR_DEST 60 /* Destination options header. */
26 #define NEXTHDR_SCTP 132 /* SCTP message. */
27 #define NEXTHDR_MOBILITY 135 /* Mobility header. */
28
29 #endif /* IPV6_H */
4242 option('BUILD_HTML_MANS', type : 'boolean', value : false,
4343 description : 'Build html manuals')
4444
45 option('NO_SETCAP_OR_SUID', type : 'boolean', value : false,
45 option('NO_SETCAP_OR_SUID', type : 'boolean', value : true,
4646 description : 'Disable setting setcap or setuid with build-aux/setcap-setuid.sh')
4747
4848 option('SETCAP_OR_SUID_ARPING', type : 'boolean', value : false,
6464
6565 #define MAXWAIT 10 /* max seconds to wait for response */
6666 #define MININTERVAL 10 /* Minimal interpacket gap */
67 #define MINUSERINTERVAL 200 /* Minimal allowed interval for non-root */
67 #define MINUSERINTERVAL 2 /* Minimal allowed interval for non-root */
6868
6969 #define SCHINT(a) (((a) <= MININTERVAL) ? MININTERVAL : (a))
7070
6060
6161 #include "iputils_common.h"
6262 #include "iputils_ni.h"
63 #include "ipv6.h"
6364 #include "ping.h"
6465
6566 #ifndef IPV6_FLOWLABEL_MGR
863864
864865 nexthdr = iph1->ip6_nxt;
865866
866 if (nexthdr == 44) {
867 if (nexthdr == NEXTHDR_FRAGMENT) {
867868 nexthdr = *(uint8_t *)icmph1;
868869 icmph1++;
869870 }
66 "Project-Id-Version: iputils 20161105\n"
77 "Report-Msgid-Bugs-To: \n"
88 "POT-Creation-Date: 2018-11-16 03:31+0900\n"
9 "PO-Revision-Date: 2021-01-26 05:47+0000\n"
9 "PO-Revision-Date: 2021-05-04 11:34+0000\n"
1010 "Last-Translator: Tomohiro KATO <tomop@teamgedoh.net>\n"
1111 "Language-Team: Japanese <https://translate.fedoraproject.org/projects/"
1212 "iputils/iputils/ja/>\n"
1515 "Content-Type: text/plain; charset=UTF-8\n"
1616 "Content-Transfer-Encoding: 8bit\n"
1717 "Plural-Forms: nplurals=1; plural=0;\n"
18 "X-Generator: Weblate 4.4.2\n"
18 "X-Generator: Weblate 4.6.1\n"
1919
2020 #: arping.c:191
2121 #, c-format
159159 #, c-format
160160 msgid ""
161161 "arping: Suitable device could not be determined. Please, use option -I.\n"
162 msgstr ""
163 "arping: 適切なデバイスを検出できませんでした。-I オプションを使用してください。\n"
162 msgstr "arping: 適切なデバイスを検出できませんでした。-I オプションを使用してください。\n"
164163
165164 #: arping.c:1193
166165 #, c-format
178177 #: arping.c:1265
179178 #, c-format
180179 msgid "Interface \"%s\" is not ARPable (no ll address)\n"
181 msgstr ""
182 "インタフェース \"%s\" ではARPを利用できません (llアドレスがありません)。\n"
180 msgstr "インタフェース \"%s\" ではARPを利用できません (llアドレスがありません)。\n"
183181
184182 #: arping.c:1274
185183 #, c-format
954952 #: ping_common.c:964
955953 #, c-format
956954 msgid "rtt min/avg/max/mdev = %ld.%03ld/%lu.%03ld/%ld.%03ld/%ld.%03ld ms"
957 msgstr ""
958 "rtt 最小/平均/最大/mdev = %ld.%03ld/%lu.%03ld/%ld.%03ld/%ld.%03ldミリ秒"
955 msgstr "rtt 最小/平均/最大/mdev = %ld.%03ld/%lu.%03ld/%ld.%03ld/%ld.%03ldミリ秒"
959956
960957 #: ping_common.c:973
961958 #, c-format
16371634 #: traceroute6.c:809
16381635 #, c-format
16391636 msgid "traceroute: packet size must be %d <= s < %d.\n"
1640 msgstr ""
1641 "traceroute: パケットサイズは %d <= s < %d の範囲内でなければいけません。\n"
1637 msgstr "traceroute: パケットサイズは %d <= s < %d の範囲内でなければいけません。\n"
16421638
16431639 #: traceroute6.c:819
16441640 #, c-format
77 "Project-Id-Version: iputils\n"
88 "Report-Msgid-Bugs-To: \n"
99 "POT-Creation-Date: 2020-03-09 19:20+0000\n"
10 "PO-Revision-Date: 2020-07-02 02:40+0000\n"
10 "PO-Revision-Date: 2021-05-04 11:34+0000\n"
1111 "Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
12 "Language-Team: Ukrainian <https://translate.fedoraproject.org/projects/iputils/iputils/uk/>\n"
12 "Language-Team: Ukrainian <https://translate.fedoraproject.org/projects/"
13 "iputils/iputils/uk/>\n"
1314 "Language: uk\n"
1415 "MIME-Version: 1.0\n"
1516 "Content-Type: text/plain; charset=UTF-8\n"
1617 "Content-Transfer-Encoding: 8bit\n"
1718 "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
1819 "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
19 "X-Generator: Weblate 4.1.1\n"
20 "X-Generator: Weblate 4.6.1\n"
2021
2122 #: ping/ping.c:1081
2223 #, c-format
124125 " -V вивести дані щодо версії і завершити роботу\n"
125126 " <призначення> назва dns або ip-адреса\n"
126127 "\n"
127 "Щоб дізнатися більше, ознайомтеся зі сторінкою підручника щодо "
128 "tracepath(8).\n"
128 "Щоб дізнатися більше, ознайомтеся зі сторінкою підручника щодо tracepath(8)."
129 "\n"
129130
130131 #: arping.c:113
131132 #, c-format
162163 " -V вивести дані щодо версії і завершити роботу\n"
163164 " -c <к-ть> кількість пакетів, які слід надіслати\n"
164165 " -w <час> гранична тривалість очікування на відповідь\n"
165 " -i <інтервал> встановити інтервал між пакетами (типове значення: 1 "
166 "секунда)\n"
166 " -i <інтервал> встановити інтервал між пакетами (типове значення: 1 секунда)"
167 "\n"
167168 " -I <пристрій> пристрій ethernet, яким слід скористатися"
168169
169170 #: clockdiff.c:451
201202 " -V вивести дані щодо версії і завершити роботу\n"
202203 " <призначення> dns-назва або ip-адреса\n"
203204 "\n"
204 "Щоб дізнатися більше, ознайомтеся зі сторінкою підручника щодо "
205 "clockdiff(8).\n"
205 "Щоб дізнатися більше, ознайомтеся зі сторінкою підручника щодо clockdiff(8)."
206 "\n"
206207
207208 #: traceroute6.c:600
208209 #, c-format
991992 #: arping.c:945
992993 msgid "Suitable device could not be determined. Please, use option -I."
993994 msgstr ""
994 "не вдалося визначити відповідний пристрій. Будь ласка, скористайтеся"
995 " параметром -I."
995 "не вдалося визначити відповідний пристрій. Будь ласка, скористайтеся "
996 "параметром -I."
996997
997998 #: traceroute6.c:472
998999 msgid "Time Exceeded in Transit"
12051206
12061207 #: ping/ping6_common.c:311
12071208 msgid "can't set multicast hop limit"
1208 msgstr ""
1209 "Не вдалося встановити обмеження перестрибувань неспрямованої трансляції"
1209 msgstr "Не вдалося встановити обмеження перестрибувань неспрямованої трансляції"
12101210
12111211 #: ping/ping6_common.c:314
12121212 msgid "can't set unicast hop limit"
15311531 #: ping/ping.c:247
15321532 #, c-format
15331533 msgid "the decimal value of TOS bits must be in range 0-255: %d"
1534 msgstr ""
1535 "десяткове значення бітів TOS має належати до діапазону від 0 до 255: %d"
1534 msgstr "десяткове значення бітів TOS має належати до діапазону від 0 до 255: %d"
15361535
15371536 #: ping/ping.c:189
15381537 msgid "this will become fatal error in the future"
77 "Project-Id-Version: iputils\n"
88 "Report-Msgid-Bugs-To: \n"
99 "POT-Creation-Date: 2020-03-09 19:20+0000\n"
10 "PO-Revision-Date: 2020-07-29 07:29+0000\n"
11 "Last-Translator: Qiyu Yan <yanqiyu01@gmail.com>\n"
12 "Language-Team: Chinese (Simplified) <https://translate.fedoraproject.org/projects/iputils/iputils/zh_CN/>\n"
10 "PO-Revision-Date: 2021-05-04 11:34+0000\n"
11 "Last-Translator: Zhang Boyang <zhangboyang.id@gmail.com>\n"
12 "Language-Team: Chinese (Simplified) <https://translate.fedoraproject.org/"
13 "projects/iputils/iputils/zh_CN/>\n"
1314 "Language: zh_CN\n"
1415 "MIME-Version: 1.0\n"
1516 "Content-Type: text/plain; charset=UTF-8\n"
1617 "Content-Transfer-Encoding: 8bit\n"
1718 "Plural-Forms: nplurals=1; plural=0;\n"
18 "X-Generator: Weblate 4.1.1\n"
19 "X-Generator: Weblate 4.6.1\n"
1920
2021 #: ping/ping.c:1081
2122 #, c-format
5859 "\n"
5960 "%cSRR: "
6061 msgstr ""
62 "\n"
63 "%cSRR: "
6164
6265 #: ping/ping.c:953
63 #, c-format
66 #, c-format, fuzzy
6467 msgid ""
6568 "\n"
6669 "NOP"
6770 msgstr ""
71 "\n"
72 "NOP"
6873
6974 #: ping/ping.c:1007
70 #, c-format
75 #, c-format, fuzzy
7176 msgid ""
7277 "\n"
7378 "RR: "
7479 msgstr ""
80 "\n"
81 "RR: "
7582
7683 #: ping/ping.c:1043
7784 #, c-format
7986 "\n"
8087 "TS: "
8188 msgstr ""
89 "\n"
90 "TS: "
8291
8392 #: tracepath.c:398
8493 #, c-format
147156 " -b 始终使用广播而不是单拨\n"
148157 " -D 重复地址检测模式\n"
149158 " -U 主动 ARP 模式, 更新邻居 ARP 表\n"
150 " -A 主动 ARP 模式, 更新邻居 ARP 表\n"
159 " -A ARP 应答模式, 更新邻居 ARP 表\n"
151160 " -V 显示版本号然后退出\n"
152161 " -c <count> 指定发送多少个包\n"
153162 " -w <timeout> 指定等待超时时间\n"
155164 " -I <device> 指定使用的设备"
156165
157166 #: clockdiff.c:451
158 #, c-format, fuzzy
167 #, c-format
159168 msgid ""
160169 "\n"
161170 "Usage:\n"
189198 " -V, --version 显示版本信息并退出\n"
190199 " <destination> dns 名称或 ip 地址\n"
191200 "\n"
192 "For more details see clockdiff(8).\n"
201 "需要更多信息请查看 clockdiff(8).\n"
193202
194203 #: traceroute6.c:600
195204 #, c-format
255264 "wrong data byte #%zu should be 0x%x but was 0x%x"
256265 msgstr ""
257266 "\n"
258 "错误的数据比特数 #%zu 预期为 0x%x 但实际接收到 0x%x"
267 "错误的数据字节 #%zu 预期为 0x%x 但实际接收到 0x%x"
259268
260269 #: tracepath.c:609
261270 #, c-format
295304 #: ping/ping_common.c:826
296305 #, c-format
297306 msgid " (DUP!)"
298 msgstr ""
307 msgstr " (重复!)"
299308
300309 #: ping/ping6_common.c:742
301310 #, c-format
405414 #: ping/ping_common.c:800
406415 #, c-format
407416 msgid "%d bytes from %s:"
408 msgstr "%d 比特,来自 %s:"
417 msgstr "%d 字节,来自 %s:"
409418
410419 #: arping.c:290
411420 #, c-format
430439 #: arping.c:388
431440 #, c-format
432441 msgid "%s from "
433 msgstr ""
442 msgstr "%s 来自 "
434443
435444 #: clockdiff.c:594
436445 #, c-format
437446 msgid "%s is down"
438 msgstr ""
447 msgstr "%s 已关闭"
439448
440449 #: clockdiff.c:600
441450 #, c-format
465474 #: ping/ping6_common.c:374
466475 #, c-format
467476 msgid "%zu data bytes\n"
468 msgstr "%zu 比特的数据\n"
477 msgstr "%zu 字节的数据\n"
469478
470479 #: ping/ping.c:927
471480 #, c-format
472481 msgid "%zu(%zu) bytes of data.\n"
473 msgstr "%zu(%zu) 比特的数据。\n"
482 msgstr "%zu(%zu) 字节的数据。\n"
474483
475484 #: ping/ping.c:1588
476485 #, c-format
495504 #: traceroute6.c:849
496505 #, c-format
497506 msgid ", %d hops max, %d byte packets\n"
498 msgstr ", 最大 %d 跃点, %d 比特的包\n"
507 msgstr ", 最大 %d 跃点, %d 字节的包\n"
499508
500509 #: ping/ping_common.c:892
501510 #, c-format
523532 msgstr ", 代码=%d"
524533
525534 #: ping/ping6_common.c:366
526 #, c-format
535 #, c-format, fuzzy
527536 msgid ", flow 0x%05x, "
528 msgstr ""
537 msgstr ", flow 0x%05x, "
529538
530539 #: ping/ping_common.c:952
531540 #, c-format
545554 #: ping/ping6_common.c:773
546555 #, c-format
547556 msgid "; seq=%u;"
548 msgstr ""
557 msgstr "; seq=%u;"
549558
550559 #: arping.c:1015
551560 #, c-format
552561 msgid "ARPING %s "
553 msgstr ""
562 msgstr "ARPING %s "
554563
555564 #: ping/ping.c:1281
556565 #, c-format
557566 msgid "Address Mask Reply\n"
558 msgstr ""
567 msgstr "地址掩码应答\n"
559568
560569 #: ping/ping.c:1276
561570 #, c-format
562571 msgid "Address Mask Request\n"
563 msgstr ""
572 msgstr "地址掩码请求\n"
564573
565574 #: ping/ping6_common.c:401
566575 #, c-format
727736
728737 #: traceroute6.c:504
729738 msgid "Home Agent Address Discovery Reply message"
730 msgstr ""
739 msgstr "Home Agent 地址发现应答信息"
731740
732741 #: traceroute6.c:502
733742 msgid "Home Agent Address Discovery Request Message"
734 msgstr ""
743 msgstr "Home Agent 地址发现请求消息"
735744
736745 #: ping/ping6_common.c:419
737746 #, c-format
746755 #: ping/ping.c:1271
747756 #, c-format
748757 msgid "Information Reply\n"
749 msgstr ""
758 msgstr "应答信息\n"
750759
751760 #: ping/ping.c:1267
752761 #, c-format
753762 msgid "Information Request\n"
754 msgstr ""
763 msgstr "信息请求\n"
755764
756765 #: arping.c:561
757766 #, c-format
769778 msgstr "网络接口 “%s” 不适用 ARP(没有 ll 地址)\n"
770779
771780 #: ping/ping6_common.c:444
772 #, c-format, fuzzy
781 #, c-format
773782 msgid "MLD Query"
774 msgstr "MLD 查询"
783 msgstr "组播组查询"
775784
776785 #: ping/ping6_common.c:450
777786 #, c-format
778787 msgid "MLD Reduction"
779 msgstr ""
788 msgstr "组播组退出"
780789
781790 #: ping/ping6_common.c:447
782791 #, c-format
783792 msgid "MLD Report"
784 msgstr ""
793 msgstr "组播组报告"
785794
786795 #: traceroute6.c:480
787796 msgid "Membership Query"
788 msgstr ""
797 msgstr "成员信息查询"
789798
790799 #: traceroute6.c:484
791800 msgid "Membership Reduction"
792 msgstr ""
801 msgstr "成员信息退出"
793802
794803 #: traceroute6.c:482
795804 msgid "Membership Report"
796 msgstr ""
805 msgstr "成员信息报告"
797806
798807 #: traceroute6.c:508
799808 msgid "Mobile Prefix Solicitation Advertisement"
800 msgstr ""
809 msgstr "移动前缀征求通告"
801810
802811 #: traceroute6.c:506
803812 msgid "Mobile Prefix Solicitation Message"
13901399 #: ping/ping.c:1508
13911400 #, c-format
13921401 msgid "packet too short (%d bytes) from %s"
1393 msgstr ""
1402 msgstr "过短的包 (%d 字节) 来自 %s"
13941403
13951404 #: ping/ping6_common.c:813
13961405 #, c-format
13971406 msgid "packet too short: %d bytes"
1398 msgstr ""
1407 msgstr "过短的包: %d 字节"
13991408
14001409 #: ping/ping_common.c:208
14011410 #, c-format
88 ExecStart=@sbindir@/rdisc -f -t $OPTIONS $SEND_ADDRESS $RECEIVE_ADDRESS
99
1010 AmbientCapabilities=CAP_NET_RAW
11 CapabilityBoundingSet=CAP_NET_RAW
1112 PrivateTmp=yes
12 PrivateUsers=yes
1313 ProtectSystem=strict
1414 ProtectHome=yes
1515 ProtectControlGroups=yes
252252 #endif
253253
254254 #include "iputils_common.h"
255 #include "ipv6.h"
255256
256257 #ifdef USE_IDN
257258 # define ADDRINFO_IDN_FLAGS AI_IDN
530531 up = (struct udphdr *)(hip + 1);
531532 nexthdr = hip->ip6_nxt;
532533
533 if (nexthdr == 44) {
534 if (nexthdr == NEXTHDR_FRAGMENT) {
534535 nexthdr = *(unsigned char *)up;
535536 up++;
536537 }
608609 " -r use SO_DONTROUTE socket option\n"
609610 " -s <address> use source <address>\n"
610611 " -v verbose output\n"
612 " -V print version and exit\n"
611613 " -w <timeout> time to wait for response\n"
612614 "\nFor more details see traceroute6(8).\n"));
613615 exit(1);