Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

Commit

Permalink
rename event function
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Quintard committed Oct 5, 2019
1 parent a71148f commit d24494a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vmod_geoip.vcc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Example::

.. vcl-end

$Event vmod_event
$Event event

## look up two-letter country codes
$Function STRING country_code(PRIV_VCL, STRING)
Expand Down

3 comments on commit d24494a

@jocel1
Copy link

@jocel1 jocel1 commented on d24494a Oct 22, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just FYI, with this change varnish 6 refuses to start:
dlerror: /usr/lib/varnish/vmods/libvmod_geoip.so: undefined symbol: event

@gquintard
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's a mistake on my part then, can you share the exact varnish version you are using? (varnish -V)

@gquintard
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reproduced on 6.0, other versions are fine, I've reverted that commit, thank you for the heads up @jocel1 !

Please sign in to comment.