lemontree55 / packetgen

Ruby library to easily generate and capture network packets
MIT License
98 stars 13 forks source link

Fix NoMethodError in deprecation warning #109

Closed optix2000 closed 4 years ago

optix2000 commented 4 years ago

Fixes

packetgen/lib/packetgen/deprecation.rb:35:in `deprecated': undefined method `split' for ["script.rb:19:in `<main>'"]:Array (NoMethodError)

when using a deprecated method.

sdaubert commented 4 years ago

Your change breaks all in Deprecation module: https://travis-ci.org/github/sdaubert/packetgen/builds/669123225

optix2000 commented 4 years ago

Whoops. Fixed now.