/[pxelator]/couchdb/dhcpd/views/hostname-count/map.js
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /couchdb/dhcpd/views/hostname-count/map.js

Parent Directory Parent Directory | Revision Log Revision Log


Revision 432 - (show annotations)
Mon Sep 14 20:10:30 2009 UTC (14 years, 6 months ago) by dpavlin
File MIME type: application/javascript
File size: 79 byte(s)
count hostnames and macs
1 function(doc) {
2 if ( doc.package.name == 'dhcpd' )
3 emit(doc.hostname, 1);
4 }

  ViewVC Help
Powered by ViewVC 1.1.26