DELTA 301185 1655 377 SVN I’p ƒY ˜€ƒW†|™MƒW!strcmp(addr, "random")) { sdl.sdl_len = sizeof(sdl); sdl.sdl_alen = ETHER_ADDR_LEN; sdl.sdl_nlen = 0; sdl.sdl_family = AF_LINK; arc4random_buf(&sdl.sdl_data, ETHER_ADDR_LEN); /* Non-multicast and claim it is a hardware address */ sdl.sdl_data[0] &= 0xfc; } else { if ((temp = malloc(strlen(addr) + 2)) == NULL) errx(1, "malloc failed"); temp[0] = ':'; strcpy(temp + 1, addr); sdl.sdl_len = sizeof(sdl); link_addr(temp, &sdl); free(temp); }ENDREP DELTA 301579 0 32 SVN…ί#…ΰq-Y, Œ“b&€H”0‘„Τ ΅7…‰C’…Šc‚²6…¬mWSeptember 17Use the .Pq Dq random keyword to set a randomly generated MAC address. A randomly-generated MAC address might be the same as one already in use in the network. Such duplications are extremely unlikelyaivENDREP id: d-138593.0.r305860/828 type: file pred: d-138593.0.r301185/2802 count: 7 text: 305860 0 498 4464 efa9e72c9c5ce8c9fab0add2de2baa0c 1660d10c3846250f4481491de2f48f3d5c453b00 305859-6kbn/_4 props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/sbin/ifconfig/af_link.c copyroot: 0 / id: ae-1558.1q-1559.r305860/1124 type: file pred: ae-1558.1q-1559.r301579/118 count: 229 text: 305860 527 276 94321 9af22d7341e328ffe5c003443b38450b 7f6765eb9e43b44446b7fccb4baa7dd0f935eeb0 305859-6kbn/_5 props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/sbin/ifconfig/ifconfig.8 copyroot: 1559 /head/sbin/ifconfig/ifconfig.8 PLAIN K 8 Makefile V 35 file ab-1558.1p-1559.r298107/363195 K 15 Makefile.depend V 32 file 1f3-284345.0.r291563/123937 K 9 af_inet.c V 28 file 7-138593.0.r301185/2200 K 10 af_inet6.c V 28 file 9-138593.0.r301185/2499 K 9 af_link.c V 27 file d-138593.0.r305860/828 K 8 af_nd6.c V 28 file 6-197138.0.r299873/1571 K 6 carp.c V 35 file 7-142215.0-228577.r288305/2571 K 10 ifbridge.c V 27 file 3-146985.0.r298246/173 K 9 ifclone.c V 28 file f-138593.0.r299873/1870 K 10 ifconfig.8 V 33 file ae-1558.1q-1559.r305860/1124 K 10 ifconfig.c V 33 file ag-1558.1r-1559.r301185/3447 K 10 ifconfig.h V 27 file 6-25451.0.r295836/1294 K 7 iffib.c V 28 file 6-223735.0.r299873/2511 K 7 ifgif.c V 27 file 5-193664.0.r287607/831 K 7 ifgre.c V 28 file 6-181224.0.r299873/2812 K 9 ifgroup.c V 28 file 6-159781.0.r288305/4463 K 13 ifieee80211.c V 26 file 3-77218.0.r301651/312 K 8 iflagg.c V 27 file 6-168793.0.r298246/471 K 7 ifmac.c V 28 file 7-105760.0.r299873/3416 K 9 ifmedia.c V 27 file 3-25450.0.r299873/3712 K 10 ifpfsync.c V 28 file 9-142215.0.r288305/5962 K 8 ifvlan.c V 27 file 8-44764.0.r301496/5255 K 9 ifvxlan.c V 28 file 6-273331.0.r288305/6559 K 5 sfp.c V 27 file 7-270064.0.r298681/107 K 5 tests V 29 dir 8-263445.0.r299094/197165 END ENDREP id: n-1559.0.r305860/2705 type: dir pred: n-1559.0.r301651/1850 count: 586 text: 305860 1468 1224 0 9ceb739c5babc7a1391c7829222aea7a cpath: /head/sbin/ifconfig copyroot: 0 / PLAIN K 8 Makefile V 34 file 6b-1558.0-1559.r296047/147769 K 14 Makefile.amd64 V 29 file 4-212527.0.r240621/10993 K 12 Makefile.arm V 27 file 6-212527.0.r212527/584 K 13 Makefile.i386 V 29 file 8-212527.0.r240621/11290 K 12 Makefile.inc V 34 file 6e-1558.1-1559.r265420/157343 K 13 Makefile.mips V 28 file c-212527.0.r212527/1379 K 13 Makefile.pc98 V 28 file e-212527.0.r212527/1645 K 16 Makefile.sparc64 V 28 file g-212527.0.r212527/1911 K 9 adjkerntz V 26 dir 2-868.0.r298107/317414 K 3 atm V 26 dir l-39232.0.r298234/1430 K 7 badsect V 27 dir 3-1559.0.r298107/319727 K 8 bsdlabel V 24 dir 2-1558.0.r298193/623 K 10 camcontrol V 26 dir 2-39214.0.r304751/1094 K 9 ccdconfig V 28 dir 2-13045.0.r298107/322390 K 4 clri V 27 dir 5-1559.0.r298107/323128 K 10 comcontrol V 25 dir fc-4.0.r298107/323816 K 11 conscontrol V 28 dir 2-85378.0.r298107/324520 K 3 ddb V 29 dir 4-174915.0.r298107/325356 K 4 devd V 29 dir 2-105573.0.r299094/192474 K 5 devfs V 29 dir 4-100206.0.r298107/327769 K 8 dhclient V 26 dir 2-43856.0.r305306/5427 K 5 dmesg V 27 dir 9-1559.0.r298107/331618 K 4 dump V 25 dir b-1559.0.r298872/3185 K 6 dumpfs V 25 dir d-1559.0.r298908/3944 K 6 dumpon V 24 dir 2-8478.0.r298244/553 K 14 etherswitchcfg V 27 dir 4-235289.0.r303752/2216 K 5 fdisk V 22 dir fj-4.0.r298861/880 K 10 fdisk_pc98 V 26 dir 2-58234.0.r298861/1554 K 7 ffsinfo V 28 dir 4-69800.0.r298107/337152 K 4 fsck V 25 dir j-1559.0.r298194/1033 K 8 fsck_ffs V 25 dir h-1558.0.r304438/2661 K 12 fsck_msdosfs V 25 dir 2-79455.0.r299089/830 K 4 fsdb V 25 dir 2-12049.0.r303539/729 K 7 fsirand V 28 dir 4-24149.0.r298107/341929 K 4 gbde V 29 dir 4-105513.0.r298107/342768 K 4 geom V 27 dir 2-129470.0.r303725/2076 K 5 ggate V 27 dir 2-128762.0.r304814/5971 K 6 growfs V 25 dir e-69800.0.r299416/779 K 6 gvinum V 29 dir 2-130391.0.r298107/359323 K 7 hastctl V 29 dir g-204076.0.r298107/360033 K 5 hastd V 27 dir o-204076.0.r304969/2942 K 8 ifconfig V 25 dir n-1559.0.r305860/2705 K 4 init V 24 dir p-1559.0.r299874/741 K 3 ipf V 28 dir 2-53643.0.r298107/372441 K 4 ipfw V 25 dir 2-3966.0.r304572/5995 K 9 iscontrol V 28 dir 7-171568.0.r300547/11780 K 9 kldconfig V 25 dir 2-78977.0.r298248/575 K 7 kldload V 25 dir 2-25540.0.r298249/565 K 7 kldstat V 28 dir b-25540.0.r298107/376665 K 9 kldunload V 28 dir j-25540.0.r298107/377370 K 8 ldconfig V 27 dir 2m-696.0.r298107/378165 K 3 md5 V 26 dir 2-3996.0.r300921/25880 K 8 mdconfig V 28 dir 2-70448.0.r299094/199828 K 5 mdmfs V 28 dir 2-78447.0.r298107/381122 K 5 mknod V 27 dir r-1559.0.r298107/381867 K 10 mksnap_ffs V 29 dir 4-111716.0.r298107/382571 K 5 mount V 27 dir t-1559.0.r298107/383747 K 12 mount_cd9660 V 27 dir v-1559.0.r298107/384520 K 12 mount_fusefs V 29 dir 5-241519.0.r298107/385243 K 13 mount_msdosfs V 27 dir l-2892.0.r298107/385963 K 9 mount_nfs V 28 dir 13-1559.0.r298107/386734 K 12 mount_nullfs V 28 dir 35-1558.0.r298107/387447 K 9 mount_udf V 28 dir 2-94663.0.r298107/388156 K 13 mount_unionfs V 28 dir 4d-1558.0.r298107/388874 K 6 nandfs V 29 dir o-235537.0.r298107/389769 K 4 natd V 25 dir 2-26782.0.r302256/853 K 5 newfs V 25 dir 1i-1559.0.r298906/976 K 11 newfs_msdos V 25 dir 2-37447.0.r305075/700 K 12 newfs_nandfs V 28 dir 14-235537.0.r298871/1534 K 6 nfsiod V 28 dir 1o-1559.0.r298107/393097 K 7 nos-tun V 28 dir b-35137.0.r298107/393790 K 11 nvmecontrol V 26 dir 2-240620.0.r299151/974 K 5 pfctl V 27 dir 9-126385.0.r303760/1427 K 6 pflogd V 30 dir 14-126385.0.r298107/396879 K 4 ping V 25 dir 1s-1559.0.r299516/609 K 5 ping6 V 25 dir o-55163.0.r302342/613 K 10 quotacheck V 25 dir 4l-1558.0.r299876/746 K 7 rcorder V 25 dir 4-78345.0.r305857/994 K 6 reboot V 25 dir 1v-1559.0.r305858/793 K 11 recoverdisk V 27 dir 2-135911.0.r298872/7779 K 10 resolvconf V 26 dir 7-219738.0.r304652/509 K 7 restore V 26 dir 1x-1559.0.r298901/9666 K 5 route V 26 dir 1z-1559.0.r303374/1046 K 6 routed V 26 dir 2-18317.0.r299845/1338 K 5 rtsol V 28 dir w-55163.0.r298107/407203 K 8 savecore V 25 dir 21-1559.0.r298315/656 K 7 sconfig V 29 dir 2-123123.0.r298107/408656 K 6 setkey V 25 dir z-55505.0.r298261/924 K 8 shutdown V 28 dir 25-1559.0.r298107/410459 K 11 spppcontrol V 28 dir 2-30303.0.r284345/876056 K 8 sunlabel V 26 dir 2-110130.0.r298326/738 K 6 swapon V 26 dir 2b-1559.0.r301024/1042 K 6 sysctl V 24 dir 2-1554.0.r302174/782 K 5 tests V 29 dir k-263220.0.r299094/200444 K 6 tunefs V 26 dir 2d-1559.0.r298271/1647 K 6 umount V 25 dir 2f-1559.0.r305859/628 END ENDREP id: fa-4.0.r305860/7291 type: dir pred: fa-4.0.r305859/5210 count: 8104 text: 305860 2880 4398 0 04a8b204318bfb65d4d0f09890d703f3 props: 80416 75 4 0 2d2977d1c96f487abe4a1e202dd03b4e cpath: /head/sbin copyroot: 0 / PLAIN K 10 .arcconfig V 26 file 1-265842.0.r298387/42 K 8 .arclint V 27 file 1-266959.0.r281789/766 K 9 COPYRIGHT V 25 file 1-2656.0.r292983/104 K 5 LOCKS V 27 file 1-146890.0.r255635/270 K 11 MAINTAINERS V 25 file 1-94742.0.r303412/47 K 8 Makefile V 30 file 3-1594.0-1595.r305147/831 K 13 Makefile.inc1 V 26 file 5-38666.0.r305256/203 K 18 Makefile.libcompat V 33 file 5-38666.0-296709.r304695/805 K 17 ObsoleteFiles.inc V 28 file 4-148330.0.r305709/1196 K 6 README V 25 file 1-21173.0.r300137/48 K 8 UPDATING V 27 file 1-41806.0.r305627/1453 K 3 bin V 22 dir 1-5.0.r305841/2991 K 4 cddl V 27 dir 1-168404.0.r305332/7563 K 7 contrib V 27 dir 1-16755.0.r305819/70174 K 6 crypto V 27 dir 1-25405.0.r305065/27174 K 3 etc V 24 dir 1-38.0.r305706/45021 K 3 gnu V 22 dir 1-3.0.r305145/1933 K 7 include V 25 dir 1-697.0.r305706/50615 K 9 kerberos5 V 27 dir 4q-29815.0.r301891/5356 K 3 lib V 23 dir 6-5.0.r305855/13967 K 7 libexec V 23 dir c-5.0.r305148/10251 K 7 release V 25 dir 1-3027.0.r305739/2349 K 6 rescue V 27 dir 7-117035.0.r305258/1094 K 4 sbin V 23 dir fa-4.0.r305860/7291 K 6 secure V 26 dir r-1553.0.r305146/30154 K 5 share V 22 dir e-3.0.r305783/5625 K 3 sys V 22 dir g-5.0.r305856/3852 K 7 targets V 34 dir 2-242818.1-284345.r305258/3114 K 5 tests V 28 dir g-257097.0.r305676/18804 K 5 tools V 27 dir 43-1590.0.r305626/18118 K 7 usr.bin V 23 dir m-3.0.r305823/13652 K 8 usr.sbin V 23 dir q-3.0.r305812/13617 END ENDREP id: 5-1.0.r305860/8935 type: dir pred: 5-1.0.r305859/6853 count: 207022 text: 305860 7507 1415 0 c4dbfaa873ebf1f30281d3cee75eea26 props: 305358 181628 2704 0 fe4feab2e9f9d3546d00795dd8f6af56 cpath: /head copyroot: 0 / minfo-cnt: 116 minfo-here: y PLAIN K 11 ROADMAP.txt V 26 file 0-179453.0.r285589/70 K 4 head V 22 dir 5-1.0.r305860/8935 K 8 projects V 23 dir 6-1.0.r305835/14782 K 7 release V 22 dir 7-1.0.r297553/3094 K 6 releng V 23 dir 8-1.0.r305786/10231 K 6 stable V 24 dir 9-1.0.r305853/120547 K 8 svnadmin V 27 dir 0-179447.0.r305103/1261 K 4 user V 24 dir a-1.0.r305782/257358 K 6 vendor V 23 dir b-1.0.r305816/68454 K 13 vendor-crypto V 25 dir 0-1575.0.r298994/4420 K 10 vendor-sys V 27 dir 0-12116.0.r305562/13944 END ENDREP id: 0.0.r305860/9673 type: dir pred: 0.0.r305859/7591 count: 305860 text: 305860 9183 477 0 a6f7ed602fb23f485a538eae145a933d props: 289270 0 4229 0 20f578acc837c5e58fc64b9eaa493aea cpath: / copyroot: 0 / minfo-cnt: 44272 d-138593.0.t305859-6kbn modify-file true false /head/sbin/ifconfig/af_link.c ae-1558.1q-1559.t305859-6kbn modify-file true false /head/sbin/ifconfig/ifconfig.8 9673 9895